| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Optionally | EMPTY
The empty Optionally |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static < type of the empty Optionally T> Optionally | |
| public Optional | Returns: the mutable optional objectGet an Optional representing the current state of the object |
| EMPTY | back to summary |
|---|---|
| public static final Optionally<?> EMPTY The empty Optionally | |
| clear | back to summary |
|---|---|
| public void clear() Clear the object | |
| empty | back to summary |
|---|---|
| public static <T> Optionally Get empty Optionally
| |
| getOptional | back to summary |
|---|---|
| public Optional Get an Optional representing the current state of the object
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Optional | getOptional()
Implements org. Get an Optional representing the current state of the object |
| Empty | back to summary |
|---|---|
| public Empty() | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clear the object
| |
| getOptional | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get an Optional representing the current state of the object | |
| Modifier and Type | Field and Description |
|---|---|
| protected Optional | optional
The mutable optional object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Optional | getOptional()
Implements org. Get an Optional representing the current state of the object |
| optional | back to summary |
|---|---|
| protected Optional<T> optional The mutable optional object | |
| Hard | back to summary |
|---|---|
public Hard(T element)
| |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clear the object
| |
| getOptional | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get an Optional representing the current state of the object | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | getOptional()
Implements org. Get an Optional representing the current state of the object |
| Soft | back to summary |
|---|---|
public Soft(T t)
| |
| getOptional | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get an Optional representing the current state of the object | |