Class SettableSupplier<T>

  • All Implemented Interfaces:
    com.google.common.base.Supplier<T>, Supplier<T>

    public class SettableSupplier<T>
    extends Object
    implements com.google.common.base.Supplier<T>
    A settable Supplier. Not thread safe.
    • Constructor Detail

      • SettableSupplier

        public SettableSupplier()
      • SettableSupplier

        public SettableSupplier​(T obj)
    • Method Detail

      • set

        public void set​(T obj)
      • get

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