| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.util.base.Wrapper<T> |
Wrap an object. Akin to Optional with support for null. This class implements
hashCode() and equals(Object).
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Wrapper<?> | NULL | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object obj) | ||||||||||
| T |
get()
Retrieve the wrapped value.
| ||||||||||
| int | hashCode() | ||||||||||
| String | toString() | ||||||||||
| static <T> Wrapper<T> | wrap(T object) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Retrieve the wrapped value.