Interface Value<T>

  • Type Parameters:
    T - value type.
    All Superinterfaces:
    Supplier<T>
    All Known Subinterfaces:
    LazyValue<T>, Ref<T>

    public interface Value<T>
    extends Supplier<T>
    A generic value provider.
    Author:
    Marek Potociar
    • Method Detail

      • get

        T get()
        Get the stored value.
        Specified by:
        get in interface Supplier<T>
        Returns:
        stored value.