Interface IWrapper<DATATYPE>

  • Type Parameters:
    DATATYPE - The type of the wrapped object.
    All Superinterfaces:
    Supplier<DATATYPE>
    All Known Subinterfaces:
    IMutableWrapper<DATATYPE>
    All Known Implementing Classes:
    ChangeWithValue, SuccessWithValue, Wrapper
    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 IWrapper<DATATYPE>
    extends Supplier<DATATYPE>
    Base interface for wrapping an object within another object.
    Author:
    Philip Helger
    • Method Detail

      • isSet

        default boolean isSet()
        Returns:
        true if the contained value is not null, false if it is null.
      • isNotSet

        default boolean isNotSet()
        Returns:
        true if the contained value is null, false if it is not null.