Uses of Class
com.github.underscore.Optional
-
Packages that use Optional Package Description com.github.underscore com.github.underscore.lodash -
-
Uses of Optional in com.github.underscore
Methods in com.github.underscore that return Optional Modifier and Type Method Description static <T> Optional<T>
Optional. absent()
Optional<String>
U. call(String funcName)
static <E> Optional<E>
U. detect(Iterable<E> iterable, Predicate<E> pred)
Optional<T>
Optional. filter(Predicate<? super T> predicate)
static <E> Optional<E>
U. find(Iterable<E> iterable, Predicate<E> pred)
static <E> Optional<E>
U. findLast(Iterable<E> iterable, Predicate<E> pred)
static <T,E>
Optional<E>U. findWhere(Iterable<E> iterable, List<Tuple<String,T>> properties)
<E> Optional<T>
U. findWhere(List<Tuple<String,E>> properties)
static <T> Optional<T>
Optional. fromNullable(T nullableReference)
Optional<String>
U. getString()
<F> Optional<F>
Optional. map(Function<? super T,F> mapper)
static <T> Optional<T>
Optional. of(T arg)
static <T> Optional<T>
U. reduce(Iterable<T> iterable, BinaryOperator<T> func)
static <T> Optional<T>
U. reduceRight(Iterable<T> iterable, BinaryOperator<T> func)
Methods in com.github.underscore that return types with arguments of type Optional Modifier and Type Method Description U.Chain<Optional<T>>
U.Chain. find(Predicate<T> pred)
U.Chain<Optional<T>>
U.Chain. findLast(Predicate<T> pred)
<E> U.Chain<Optional<T>>
U.Chain. findWhere(List<Tuple<String,E>> properties)
<F> U.Chain<Map<F,Optional<T>>>
U.Chain. groupBy(Function<T,F> func, BinaryOperator<T> binaryOperator)
static <K,E>
Map<K,Optional<E>>U. groupBy(Iterable<E> iterable, Function<E,K> func, BinaryOperator<E> binaryOperator)
<K,E>
Map<K,Optional<E>>U. groupBy(Function<E,K> func, BinaryOperator<E> binaryOperator)
U.Chain<Optional<T>>
U.Chain. reduce(BinaryOperator<T> func)
U.Chain<Optional<T>>
U.Chain. reduceRight(BinaryOperator<T> func)
-
Uses of Optional in com.github.underscore.lodash
Methods in com.github.underscore.lodash that return types with arguments of type Optional Modifier and Type Method Description U.Chain<Optional<T>>
U.Chain. find(Predicate<T> pred)
U.Chain<Optional<T>>
U.Chain. findLast(Predicate<T> pred)
<E> U.Chain<Optional<T>>
U.Chain. findWhere(List<Tuple<String,E>> properties)
<F> U.Chain<Map<F,Optional<T>>>
U.Chain. groupBy(Function<T,F> func, BinaryOperator<T> binaryOperator)
U.Chain<Optional<T>>
U.Chain. reduce(BinaryOperator<T> func)
U.Chain<Optional<T>>
U.Chain. reduceRight(BinaryOperator<T> func)
-