Class ConfigurableSupplier<T>

  • Type Parameters:
    T - the type of the supply object.
    All Implemented Interfaces:
    Configurable, Supplier<T>

    public abstract class ConfigurableSupplier<T>
    extends Object
    implements Supplier<T>, Configurable
    A configurable supplier.
    • Constructor Detail

      • ConfigurableSupplier

        public ConfigurableSupplier()
    • Method Detail

      • configure

        public void configure​(Conf configs)
        Configures this instance with the specified Conf.
        Specified by:
        configure in interface Configurable
        Parameters:
        configs - the Conf instance used to configure this instance.
      • get

        public T get()
        Specified by:
        get in interface Supplier<T>
      • get

        public abstract T get​(Conf configs)