Interface Producer<T>

Type Parameters:
T - the type to produce
All Superinterfaces:
jakarta.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>, jakarta.inject.Provider<T>
Generic Factory interface.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     

    Methods inherited from interface com.google.common.base.Supplier

    equals
  • Method Details

    • get

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