Interface Producer<T>

  • Type Parameters:
    T - the type to produce
    All Superinterfaces:
    javax.inject.Provider<T>, com.google.common.base.Supplier<T>, Supplier<T>
    All Known Subinterfaces:
    ConfigLocationProvider
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Producer<T>
    extends Supplier<T>, com.google.common.base.Supplier<T>, javax.inject.Provider<T>
    Generic Factory interface.
    Since:
    1.0.0
    • Method Detail

      • get

        T get()
        Specified by:
        get in interface javax.inject.Provider<T>
        Specified by:
        get in interface com.google.common.base.Supplier<T>
        Specified by:
        get in interface Supplier<T>