T - the content typepublic class Box<T> extends Object
| Constructor and Description |
|---|
Box() |
| Modifier and Type | Method and Description |
|---|---|
static <E> Box<E> |
empty() |
boolean |
equals(Object rhs) |
<R> Box<R> |
fmap(Delegate<R,T> delegate) |
T |
getContent() |
boolean |
hasContent() |
int |
hashCode() |
boolean |
isEmpty() |
static <E> Box<E> |
of(E element) |
void |
setContent(T content) |
String |
toString() |
Maybe<T> |
unload() |
Copyright © 2013. All rights reserved.