java.lang.Object
de.linusdev.data.OptionalValueImplementation<V>
- All Implemented Interfaces:
OptionalValue<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()get()The actual value of classOptionalValuerepresented by thisOptionalValue.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.linusdev.data.OptionalValue
getAs, isNull
-
Constructor Details
-
OptionalValueImplementation
-
-
Method Details
-
get
Description copied from interface:OptionalValueThe actual value of classOptionalValuerepresented by thisOptionalValue.- Specified by:
getin interfaceOptionalValue<V>- Returns:
OptionalValueornull
-
exists
public boolean exists()Description copied from interface:OptionalValue- Specified by:
existsin interfaceOptionalValue<V>- Returns:
trueif thisOptionalValueexists in theAbstractDatathisOptionalValueis of.
-