public static class Maybe.Absent<T> extends Maybe<T>
Maybe.Absent<T>, Maybe.AbsentNull<T>, Maybe.AbstractPresent<T>, Maybe.Present<T>, Maybe.SoftlyPresent<T>| Constructor and Description |
|---|
Maybe.Absent() |
Maybe.Absent( |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
java.lang.RuntimeException |
getException() |
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, absentNull, absentNull, asSet, equals, fromNullable, hashCode, isAbsent, isAbsentOrNull, isPresentAndNonNull, next, of, of, of, ofAllowingNull, ofDisallowingNull, or, or, or, orNull, presentInstances, soft, softThen, toString, transformpublic boolean isNull()
MaybeMaybe.fromNullable(Object).public java.lang.RuntimeException getException()