Uses of Interface
com.landawn.abacus.util.Throwables.BiFunction
Package
Description
-
Uses of Throwables.BiFunction in com.landawn.abacus.util
Modifier and TypeInterfaceDescriptionstatic interface
Throwables.BinaryOperator<T,
E extends Throwable> The Interface BinaryOperator.static interface
Throwables.TernaryOperator<T,
E extends Throwable> The Interface TernaryOperator.Modifier and TypeMethodDescriptionstatic <T,
U, E extends Throwable>
Throwables.BiFunction<T,U, Void, E> Fn.Fnn.c2f
(Throwables.BiConsumer<T, U, E> biConsumer) static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.c2f
(Throwables.BiConsumer<T, U, E> biConsumer, R valueToReturn) static <K,
V, E extends Exception>
Throwables.BiFunction<K,V, Map.Entry<K, V>, E> Fn.Fnn.entry()
static <A,
T, U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.f
(A a, Throwables.TriFunction<A, T, U, R, E> triFunction) static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.f
(Throwables.BiFunction<T, U, R, E> biFunction) static <A,
T, U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.ff
(A a, TriFunction<A, T, U, R> triFunction) static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.ff
(BiFunction<T, U, R> biFunction) static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.from
(BiFunction<T, U, ? extends R> function) static <L,
R, E extends Exception>
Throwables.BiFunction<L,R, Pair<L, R>, E> Fn.Fnn.pair()
static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.sf
(Object mutex, Throwables.BiFunction<T, U, R, E> biFunction) SynchronizedBiFunction
.static <T,
U, E extends Exception>
Throwables.BiFunction<T,U, Tuple.Tuple2<T, U>, E> Fn.Fnn.tuple2()
Modifier and TypeMethodDescription<E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(int columnIndex, String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Adds the column.<E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.addColumn
(String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Adds the column.<E extends Exception>
voidDataSet.addColumn
(int columnIndex, String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Generate the new column values from the specified columns by the specifiedFunction
.<E extends Exception>
voidDataSet.addColumn
(String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Generate the new column values from the specified columns by the specifiedFunction
.<E extends Exception>
voidRowDataSet.addColumn
(int columnIndex, String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Adds the column.<E extends Exception>
voidRowDataSet.addColumn
(String newColumnName, Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func) Adds the column.<R,
E extends Exception>
RNoCachingNoUpdating.DisposableEntry.apply
(Throwables.BiFunction<? super K, ? super V, ? extends R, E> func) <U,
E extends Exception>
UNoCachingNoUpdating.DisposablePair.apply
(Throwables.BiFunction<? super L, ? super R, ? extends U, E> func) static <T,
U, R, E extends Throwable>
RSynchronized.apply
(T mutex, U u, Throwables.BiFunction<? super T, ? super U, ? extends R, E> funciton) <U,
R, E extends Exception>
ContinuableFuture<R>ContinuableFuture.callAfterBoth
(ContinuableFuture<U> other, Throwables.BiFunction<? super T, ? super U, ? extends R, E> action) Call after both.<R,
E extends Exception>
ContinuableFuture<R>ContinuableFuture.callAfterEither
(ContinuableFuture<? extends T> other, Throwables.BiFunction<? super T, ? super Exception, ? extends R, E> action) Call after either.<R,
E extends Exception>
ContinuableFuture<R>ContinuableFuture.callAfterFirstSucceed
(ContinuableFuture<? extends T> other, Throwables.BiFunction<? super T, ? super Exception, ? extends R, E> action) Call after either.static <T> T
N.callUninterruptibly
(long timeout, TimeUnit unit, Throwables.BiFunction<Long, TimeUnit, T, InterruptedException> cmd) Note: Copied from Google Guava under Apache License v2.0
If a thread is interrupted during such a call, the call continues to block until the result is available or the timeout elapses, and only then re-interrupts the thread.ExceptionalStream.collapse
(Throwables.BiPredicate<? super T, ? super T, ? extends E> collapsible, Throwables.BiFunction<? super T, ? super T, T, ? extends E> mergeFunction) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.<U> ExceptionalStream<U,
E> ExceptionalStream.collapse
(Throwables.BiPredicate<? super T, ? super T, ? extends E> collapsible, U init, Throwables.BiFunction<U, ? super T, U, ? extends E> op) ExceptionalStream.collapse
(Throwables.TriPredicate<? super T, ? super T, ? super T, ? extends E> collapsible, Throwables.BiFunction<? super T, ? super T, T, ? extends E> mergeFunction) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.<U> ExceptionalStream<U,
E> ExceptionalStream.collapse
(Throwables.TriPredicate<? super T, ? super T, ? super T, ? extends E> collapsible, U init, Throwables.BiFunction<U, ? super T, U, ? extends E> op) static <T1,
T2, R, E extends Exception>
ContinuableFuture<R>Futures.combine
(Future<? extends T1> cf1, Future<? extends T2> cf2, Throwables.BiFunction<? super T1, ? super T2, ? extends R, E> action) <E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.combineColumns
(Tuple.Tuple2<String, String> columnNames, String newColumnName, Throwables.BiFunction<?, ?, ?, E> combineFunc) <E extends Exception>
voidDataSet.combineColumns
(Tuple.Tuple2<String, String> columnNames, String newColumnName, Throwables.BiFunction<?, ?, ?, E> combineFunc) <E extends Exception>
voidRowDataSet.combineColumns
(Tuple.Tuple2<String, String> columnNames, String newColumnName, Throwables.BiFunction<?, ?, ?, E> combineFunc) static <T1,
T2, R> ContinuableFuture<R> Futures.compose
(Future<T1> cf1, Future<T2> cf2, Throwables.BiFunction<? super Future<T1>, ? super Future<T2>, R, Exception> zipFunctionForGet) static <T1,
T2, R> ContinuableFuture<R> Futures.compose
(Future<T1> cf1, Future<T2> cf2, Throwables.BiFunction<? super Future<T1>, ? super Future<T2>, R, Exception> zipFunctionForGet, Throwables.Function<? super Tuple.Tuple4<Future<T1>, Future<T2>, Long, TimeUnit>, R, Exception> zipFunctionTimeoutGet) <E extends Exception>
longThe implementation is equivalent to performing the following steps for this LongMultiset:The implementation is equivalent to performing the following steps for this Multimap:<E extends Exception>
intThe implementation is equivalent to performing the following steps for this Multiset:<E extends Exception>
longLongMultiset.computeIfPresent
(T e, Throwables.BiFunction<? super T, Long, Long, E> remappingFunction) The implementation is equivalent to performing the following steps for this LongMultiset:Multimap.computeIfPresent
(K key, Throwables.BiFunction<? super K, ? super V, ? extends V, X> remappingFunction) The implementation is equivalent to performing the following steps for this Multimap:<E extends Exception>
intMultiset.computeIfPresent
(T e, Throwables.BiFunction<? super T, Integer, Integer, E> remappingFunction) The implementation is equivalent to performing the following steps for this Multiset:static <K,
V, T, E extends Exception>
Throwables.Function<Map.Entry<K,V>, T, E> Fn.Entries.ef
(Throwables.BiFunction<? super K, ? super V, ? extends T, E> f) static <A,
T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.f
(A a, Throwables.BiFunction<A, T, R, E> biFunction) static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.f
(Throwables.BiFunction<T, U, R, E> biFunction) static <T,
U, R, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.f2c
(Throwables.BiFunction<T, U, ? extends R, E> func) Fn.Entries.ff
(Throwables.BiFunction<? super K, ? super V, ? extends T, E> f) Fn.ff
(A a, Throwables.BiFunction<A, T, R, E> biFunction) static <T,
U, R, E extends Exception>
BiFunction<T,U, R> Fn.ff
(Throwables.BiFunction<T, U, R, E> biFunction) static <T,
U, R, E extends Exception>
BiFunction<T,U, R> Fn.ff
(Throwables.BiFunction<T, U, R, E> biFunction, R defaultOnError) DataSet.flatMap
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ? extends Collection<?>, E> func, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ? extends Collection<?>, E> func, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
UContinuableFuture.getThenApply
(long timeout, TimeUnit unit, Throwables.BiFunction<? super T, ? super Exception, U, E> action) Gets the then apply.<U,
E extends Exception>
UContinuableFuture.getThenApply
(Throwables.BiFunction<? super T, ? super Exception, U, E> action) Gets the then apply.DataSet.map
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
UPair.map
(Throwables.BiFunction<? super L, ? super R, U, E> mapper) RowDataSet.map
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> func, String newColumnName, Collection<String> copyingColumnNames) <U,
E extends Exception>
UTuple.Tuple2.map
(Throwables.BiFunction<? super T1, ? super T2, U, E> mapper) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(ExceptionalStream<? extends T, E> a, ExceptionalStream<? extends T, E> b, ExceptionalStream<? extends T, E> c, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(ExceptionalStream<? extends T, E> a, ExceptionalStream<? extends T, E> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(Iterable<? extends T> a, Iterable<? extends T> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(Iterable<? extends T> a, Iterable<? extends T> b, Iterable<? extends T> c, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(Iterator<? extends T> a, Iterator<? extends T> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(Iterator<? extends T> a, Iterator<? extends T> b, Iterator<? extends T> c, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(T[] a, T[] b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) static <T,
E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.merge
(T[] a, T[] b, T[] c, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) <E extends Exception>
longThe implementation is equivalent to performing the following steps for this LongMultiset:Multimap.merge
(K key, E e, Throwables.BiFunction<? super V, ? super E, ? extends V, X> remappingFunction) The implementation is equivalent to performing the following steps for this Multimap:Multimap.merge
(K key, V value, Throwables.BiFunction<? super V, ? super V, ? extends V, X> remappingFunction) The implementation is equivalent to performing the following steps for this Multimap:<E extends Exception>
intMultiset.merge
(T key, int value, Throwables.BiFunction<Integer, Integer, Integer, E> remappingFunction) The implementation is equivalent to performing the following steps for this Multiset:N.merge
(Iterable<? extends T> a, Iterable<? extends T> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) N.merge
(T[] a, T[] b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) Sheet.merge
(Sheet<? extends R, ? extends C, ? extends E2> b, Throwables.BiFunction<? super E, ? super E2, E3, X> mergeFunction) ExceptionalStream.mergeWith
(ExceptionalStream<? extends T, E> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) ExceptionalStream.mergeWith
(Collection<? extends T> b, Throwables.BiFunction<? super T, ? super T, MergeResult, E> nextSelector) <U,
E2 extends Exception>
UExceptionalStream.reduce
(U identity, Throwables.BiFunction<U, ? super T, U, E2> accumulator) <U,
E2 extends Exception>
UExceptionalStream.reduceUntil
(U identity, Throwables.BiFunction<U, ? super T, U, E2> accumulator, Throwables.Predicate<? super U, E2> conditionToBreak) <E extends Exception>
voidLongMultiset.replaceAll
(Throwables.BiFunction<? super T, ? super Long, Long, E> function) The associated elements will be removed if zero or negative occurrences are returned by the specifiedfunction
.static <K,
V, E extends Exception>
voidMaps.replaceAll
(Map<K, V> map, Throwables.BiFunction<? super K, ? super V, ? extends V, E> function) <X extends Exception>
voidMultimap.replaceAll
(Throwables.BiFunction<? super K, ? super V, ? extends V, X> function) The associated keys will be removed if null or empty values are returned by the specifiedfunction
.<E extends Exception>
voidMultiset.replaceAll
(Throwables.BiFunction<? super T, ? super Integer, Integer, E> function) The associated elements will be removed if zero or negative occurrences are returned by the specifiedfunction
.<U> ExceptionalStream<U,
E> ExceptionalStream.scan
(U init, Throwables.BiFunction<U, ? super T, U, ? extends E> accumulator) <U> ExceptionalStream<U,
E> ExceptionalStream.scan
(U init, Throwables.BiFunction<U, ? super T, U, ? extends E> accumulator, boolean initIncluded) static <A,
T, R, E extends Throwable>
Throwables.Function<T,R, E> Fn.Fnn.sf
(Object mutex, A a, Throwables.BiFunction<A, T, R, E> biFunction) SynchronizedFunction
.static <T,
U, R, E extends Throwable>
Throwables.BiFunction<T,U, R, E> Fn.Fnn.sf
(Object mutex, Throwables.BiFunction<T, U, R, E> biFunction) SynchronizedBiFunction
.<R> ExceptionalStream<R,
E> ExceptionalStream.slidingMap
(Throwables.BiFunction<? super T, ? super T, R, ? extends E> mapper) <R> ExceptionalStream<R,
E> ExceptionalStream.slidingMap
(Throwables.BiFunction<? super T, ? super T, R, ? extends E> mapper, int increment) <R> ExceptionalStream<R,
E> ExceptionalStream.slidingMap
(Throwables.BiFunction<? super T, ? super T, R, ? extends E> mapper, int increment, boolean ignoreNotPaired) <R,
E extends Exception>
ContinuableFuture<R>ContinuableFuture.thenCall
(Throwables.BiFunction<? super T, ? super Exception, ? extends R, E> action) static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(A[] a, B[] b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(A[] a, B[] b, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" arrays until one of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(ExceptionalStream<? extends A, E> a, ExceptionalStream<? extends B, E> b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(ExceptionalStream<? extends A, E> a, ExceptionalStream<? extends B, E> b, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(Iterable<? extends A> a, Iterable<? extends B> b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(Iterable<? extends A> a, Iterable<? extends B> b, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" arrays until one of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(Iterator<? extends A> a, Iterator<? extends B> b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <A,
B, T, E extends Exception>
ExceptionalStream<T,E> ExceptionalStream.zip
(Iterator<? extends A> a, Iterator<? extends B> b, Throwables.BiFunction<? super A, ? super B, ? extends T, ? extends E> zipFunction) Zip together the "a" and "b" iterators until one of them runs out of values.N.zip
(A[] a, B[] b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) N.zip
(A[] a, B[] b, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) static <A,
B, R, E extends Exception>
R[]N.zip
(Class<R> targetElementType, A[] a, B[] b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) static <A,
B, R, E extends Exception>
R[]N.zip
(Class<R> targetElementType, A[] a, B[] b, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) N.zip
(Iterable<A> a, Iterable<B> b, A valueForNoneA, B valueForNoneB, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) N.zip
(Iterable<A> a, Iterable<B> b, Throwables.BiFunction<? super A, ? super B, ? extends R, E> zipFunction) <T2,
R> ExceptionalStream<R, E> ExceptionalStream.zipWith
(ExceptionalStream<T2, E> b, Throwables.BiFunction<? super T, ? super T2, ? extends R, ? extends E> zipFunction) <T2,
R> ExceptionalStream<R, E> ExceptionalStream.zipWith
(ExceptionalStream<T2, E> b, T valueForNoneA, T2 valueForNoneB, Throwables.BiFunction<? super T, ? super T2, ? extends R, ? extends E> zipFunction) <T2,
R> ExceptionalStream<R, E> ExceptionalStream.zipWith
(Collection<T2> b, Throwables.BiFunction<? super T, ? super T2, ? extends R, ? extends E> zipFunction) <T2,
R> ExceptionalStream<R, E> ExceptionalStream.zipWith
(Collection<T2> b, T valueForNoneA, T2 valueForNoneB, Throwables.BiFunction<? super T, ? super T2, ? extends R, ? extends E> zipFunction) -
Uses of Throwables.BiFunction in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
BiFunction<T,
U, R> Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.htmlinterface
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.BiFunction<T,U, R, E> BiFunction.toThrowable()
-
Uses of Throwables.BiFunction in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionStream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, A, D> downstream) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, A, D> downstream, Supplier<? extends M> mapFactory) abstract <U,
E extends Exception>
UStream.foldLeft
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <U,
E extends Exception>
UStream.foldRight
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <U,
E extends Exception>
UStream.reduce
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator, Throwables.BinaryOperator<U, E> combiner) abstract <U,
E extends Exception>
UStream.reduceUntil
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator, Throwables.BinaryOperator<U, E> combiner, Throwables.Predicate<? super U, E> conditionToBreak)