Uses of Class
com.github.underscore.Optional
-
-
Uses of Optional in com.github.underscore
Fields in com.github.underscore declared as Optional Modifier and Type Field Description private static Optional<?>Optional. EMPTYprivate Optional<String>Underscore. stringMethods in com.github.underscore that return Optional Modifier and Type Method Description Optional<String>Underscore. call(String funcName)static <E> Optional<E>Underscore. detect(Iterable<E> iterable, Predicate<E> pred)static <T> Optional<T>Optional. empty()Optional<T>Optional. filter(Predicate<? super T> predicate)static <E> Optional<E>Underscore. find(Iterable<E> iterable, Predicate<E> pred)static <E> Optional<E>Underscore. findLast(Iterable<E> iterable, Predicate<E> pred)static <T,E>
Optional<E>Underscore. findWhere(Iterable<E> iterable, List<Tuple<String,T>> properties)<E> Optional<T>Underscore. findWhere(List<Tuple<String,E>> properties)static <T> Optional<T>Optional. fromNullable(T nullableReference)Optional<String>Underscore. getString()<F> Optional<F>Optional. map(Function<? super T,F> mapper)static <T> Optional<T>Optional. of(T arg)static <T> Optional<T>Underscore. reduce(Iterable<T> iterable, BinaryOperator<T> func)static <T> Optional<T>Underscore. 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)Underscore.Chain<Optional<T>>Underscore.Chain. find(Predicate<T> pred)U.Chain<Optional<T>>U.Chain. findLast(Predicate<T> pred)Underscore.Chain<Optional<T>>Underscore.Chain. findLast(Predicate<T> pred)<E> U.Chain<Optional<T>>U.Chain. findWhere(List<Tuple<String,E>> properties)<E> Underscore.Chain<Optional<T>>Underscore.Chain. findWhere(List<Tuple<String,E>> properties)<F> U.Chain<Map<F,Optional<T>>>U.Chain. groupBy(Function<T,F> func, BinaryOperator<T> binaryOperator)<F> Underscore.Chain<Map<F,Optional<T>>>Underscore.Chain. groupBy(Function<T,F> func, BinaryOperator<T> binaryOperator)static <K,E>
Map<K,Optional<E>>Underscore. groupBy(Iterable<E> iterable, Function<E,K> func, BinaryOperator<E> binaryOperator)<K,E>
Map<K,Optional<E>>Underscore. groupBy(Function<E,K> func, BinaryOperator<E> binaryOperator)U.Chain<Optional<T>>U.Chain. reduce(BinaryOperator<T> func)Underscore.Chain<Optional<T>>Underscore.Chain. reduce(BinaryOperator<T> func)U.Chain<Optional<T>>U.Chain. reduceRight(BinaryOperator<T> func)Underscore.Chain<Optional<T>>Underscore.Chain. reduceRight(BinaryOperator<T> func)
-