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