public static class Maybe.SoftlyPresent<T> extends Maybe<T>
Maybe.Absent<T>, Maybe.AbsentNull<T>, Maybe.AbstractPresent<T>, Maybe.Present<T>, Maybe.SoftlyPresent<T>
Modifier and Type | Method and Description |
---|---|
T |
get() |
boolean |
isNull()
Whether the value is null, if present, or
if it was specified as absent because it was null,
e.g.
|
boolean |
isPresent() |
T |
orNull() |
Maybe<T> |
solidify() |
absent, absent, absent, absent, absent, absentNull, absentNull, asSet, equals, fromNullable, hashCode, isAbsent, isAbsentOrNull, isPresentAndNonNull, next, of, of, of, ofAllowingNull, ofDisallowingNull, or, or, or, presentInstances, soft, softThen, toString, transform
public boolean isNull()
Maybe
Maybe.fromNullable(Object)
.