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