Uses of Interface
com.landawn.abacus.util.Throwables.BinaryOperator
Package
Description
-
Uses of Throwables.BinaryOperator in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.from
(BinaryOperator<T> op) static <T,
E extends Exception>
Throwables.BinaryOperator<T,E> Fn.Fnn.ignoringMerger()
static <T extends Comparable<? super T>,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.max()
static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.max
(Comparator<? super T> comparator) static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.maxBy
(Function<? super T, ? extends Comparable> keyMapper) static <K extends Comparable<? super K>,
V, E extends Throwable>
Throwables.BinaryOperator<Map.Entry<K,V>, E> Fn.Fnn.maxByKey()
static <K,
V extends Comparable<? super V>, E extends Throwable>
Throwables.BinaryOperator<Map.Entry<K,V>, E> Fn.Fnn.maxByValue()
static <T extends Comparable<? super T>,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.min()
static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.min
(Comparator<? super T> comparator) static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.minBy
(Function<? super T, ? extends Comparable> keyMapper) static <K extends Comparable<? super K>,
V, E extends Throwable>
Throwables.BinaryOperator<Map.Entry<K,V>, E> Fn.Fnn.minByKey()
static <K,
V extends Comparable<? super V>, E extends Throwable>
Throwables.BinaryOperator<Map.Entry<K,V>, E> Fn.Fnn.minByValue()
static <T,
E extends Exception>
Throwables.BinaryOperator<T,E> Fn.Fnn.replacingMerger()
static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.selectFirst()
static <T,
E extends Throwable>
Throwables.BinaryOperator<T,E> Fn.Fnn.selectSecond()
static <T,
E extends Exception>
Throwables.BinaryOperator<T,E> Fn.Fnn.throwingMerger()
Modifier and TypeMethodDescriptionExceptionalStream.distinct
(Throwables.BinaryOperator<T, ? extends E> mergeFunction) Distinct and filter by occurrences.<K> ExceptionalStream<T,
E> ExceptionalStream.distinctBy
(Throwables.Function<? super T, K, ? extends E> keyMapper, Throwables.BinaryOperator<T, ? extends E> mergeFunction) Distinct and filter by occurrences.<K,
V> ExceptionalStream<Map.Entry<K, V>, E> ExceptionalStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Throwables.BinaryOperator<V, ? extends E> mergeFunction) <K,
V> ExceptionalStream<Map.Entry<K, V>, E> ExceptionalStream.groupBy
(Throwables.Function<? super T, ? extends K, ? extends E> keyMapper, Throwables.Function<? super T, ? extends V, ? extends E> valueMapper, Throwables.BinaryOperator<V, ? extends E> mergeFunction, Supplier<? extends Map<K, V>> mapFactory) <U,
K, R> ExceptionalStream<R, E> ExceptionalStream.groupJoin
(ExceptionalStream<U, ? extends E> b, Throwables.Function<? super T, ? extends K, ? extends E> leftKeyMapper, Throwables.Function<? super U, ? extends K, ? extends E> rightKeyMapper, Throwables.BinaryOperator<U, ? extends E> mergeFunction, Throwables.BiFunction<? super T, ? super U, R, ? extends E> func) The time complexity is O(n + m) : n is the size of thisStream
and m is the size of specified collectionb
.<U,
K> ExceptionalStream<Pair<T, U>, E> ExceptionalStream.groupJoin
(Collection<? extends U> b, Throwables.Function<? super T, ? extends K, ? extends E> leftKeyMapper, Throwables.Function<? super U, ? extends K, ? extends E> rightKeyMapper, Throwables.BinaryOperator<U, ? extends E> mergeFunction) The time complexity is O(n + m) : n is the size of thisStream
and m is the size of specified collectionb
.<U,
K, R> ExceptionalStream<R, E> ExceptionalStream.groupJoin
(Collection<? extends U> b, Throwables.Function<? super T, ? extends K, ? extends E> leftKeyMapper, Throwables.Function<? super U, ? extends K, ? extends E> rightKeyMapper, Throwables.BinaryOperator<U, ? extends E> mergeFunction, Throwables.BiFunction<? super T, ? super U, R, ? extends E> func) The time complexity is O(n + m) : n is the size of thisStream
and m is the size of specified collectionb
.Maps.invert
(Map<K, V> map, Throwables.BinaryOperator<K, E> mergeOp) static <K,
V, E extends Exception>
voidMaps.merge
(Map<K, V> map, K key, V value, Throwables.BinaryOperator<V, E> remappingFunction) <E2 extends Exception>
u.Optional<T>ExceptionalStream.reduce
(Throwables.BinaryOperator<T, E2> accumulator) <E2 extends Exception>
u.Optional<T>ExceptionalStream.reduceUntil
(Throwables.BinaryOperator<T, E2> accumulator, Throwables.Predicate<? super T, E2> conditionToBreak) <K,
V, E2 extends Exception, E3 extends Exception, E4 extends Exception>
ImmutableMap<K,V> ExceptionalStream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) ExceptionalStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) ExceptionalStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction, Supplier<? extends M> mapFactory) -
Uses of Throwables.BinaryOperator in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.htmlModifier and TypeMethodDescriptiondefault <E extends Throwable>
Throwables.BinaryOperator<T,E> BinaryOperator.toThrowable()
-
Uses of Throwables.BinaryOperator in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract <E extends Exception>
u.Optional<T>Stream.foldLeft
(Throwables.BinaryOperator<T, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <E extends Exception>
u.Optional<T>Stream.foldRight
(Throwables.BinaryOperator<T, E> accumulator) This method will always run sequentially, even in parallel stream.