public abstract class Maybe<T> extends Object
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Maybe<T> other) |
abstract T |
get(T def) |
abstract T |
getJust() |
abstract int |
hashCode() |
abstract boolean |
isJust() |
abstract boolean |
isNothing() |
static <T> Maybe<T> |
Just(T value) |
static <T> Maybe<T> |
Nothing() |
abstract String |
toString() |
Copyright © 2014. All rights reserved.