| Package | Description |
|---|---|
| net.ninjacat.smooth.strings | |
| net.ninjacat.smooth.utils |
| Modifier and Type | Method and Description |
|---|---|
Option<T> |
MutableTrie.get(String text) |
Option<T> |
ImmutableTrie.get(String text) |
Option<T> |
Trie.get(String text) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Option<T> |
Option.absent()
Creates a new option that does not hold any value.
|
Option<T> |
Try.get()
Retrieves result of computation from Try wrapped in
Option. |
<K> Option<K> |
Option.map(Func<K,T> transform)
If this option is not empty, its value is transformed with the given Function; otherwise, absent() is returned.
|
static <T> Option<T> |
Option.of(T value)
Creates a new option from supplied value.
|
Copyright © 2018. All rights reserved.