Package | Description |
---|---|
com.github.underscore | |
com.github.underscore.lodash |
Modifier and Type | Method | Description |
---|---|---|
static <T> Optional<T> |
Optional.absent() |
|
Optional<String> |
$.call(String funcName) |
|
static <E> Optional<E> |
$.detect(Iterable<E> iterable,
Predicate<E> pred) |
|
static <E> Optional<E> |
$.find(Iterable<E> iterable,
Predicate<E> pred) |
|
static <E> Optional<E> |
$.findLast(Iterable<E> iterable,
Predicate<E> pred) |
|
static <T,E> Optional<E> |
$.findWhere(Iterable<E> iterable,
List<Tuple<String,T>> properties) |
|
<E> Optional<T> |
$.findWhere(List<Tuple<String,E>> properties) |
|
static <T> Optional<T> |
Optional.fromNullable(T nullableReference) |
|
Optional<String> |
$.getString() |
|
<U> Optional<U> |
Optional.map(Function<? super T,? extends U> mapper) |
|
static <T> Optional<T> |
Optional.of(T arg) |
Modifier and Type | Method | Description |
---|---|---|
$.Chain<Optional<T>> |
$.Chain.find(Predicate<T> pred) |
|
$.Chain<Optional<T>> |
$.Chain.findLast(Predicate<T> pred) |
|
<E> $.Chain<Optional<T>> |
$.Chain.findWhere(List<Tuple<String,E>> properties) |
Modifier and Type | Method | Description |
---|---|---|
$.Chain<Optional<T>> |
$.Chain.find(Predicate<T> pred) |
|
$.Chain<Optional<T>> |
$.Chain.findLast(Predicate<T> pred) |
|
<E> $.Chain<Optional<T>> |
$.Chain.findWhere(List<Tuple<String,E>> properties) |
Copyright © 2018. All rights reserved.