public static class Maybe.Absent<T> extends Maybe<T>
Maybe.Absent<T>, Maybe.AbstractPresent<T>, Maybe.Present<T>, Maybe.SoftlyPresent<T>
Constructor and Description |
---|
Maybe.Absent() |
Maybe.Absent(com.google.common.base.Supplier<? extends java.lang.RuntimeException> exception) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
java.lang.RuntimeException |
getException() |
boolean |
isPresent() |