Package bdsup2sub.utils.optional
Class Present<T>
java.lang.Object
bdsup2sub.utils.optional.Optional<T>
bdsup2sub.utils.optional.Present<T>
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class bdsup2sub.utils.optional.Optional
absent, fromNullable, of
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
reference
-
-
Constructor Details
-
Present
Present(T reference)
-
-
Method Details
-
isPresent
public boolean isPresent() -
get
-
orNull
-
equals
-
hashCode
public int hashCode() -
toString
-