Package com.helger.commons.wrapper
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.
Base interface for wrapping an object within another object.
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
get
-
isSet
default boolean isSet()- Returns:
trueif the contained value is notnull,falseif it isnull.
-
isNotSet
default boolean isNotSet()- Returns:
trueif the contained value isnull,falseif it is notnull.
-