Package bdsup2sub.utils.optional
Class Optional<T>
java.lang.Object
bdsup2sub.utils.optional.Optional<T>
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Optional<T>absent()private static <T> TcheckNotNull(T reference) abstract booleanstatic <T> Optional<T>fromNullable(T nullableReference) abstract Tget()abstract inthashCode()abstract booleanstatic <T> Optional<T>of(T reference) abstract ObjectorNull()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Optional
Optional()
-
-
Method Details