Uses of Interface
com.landawn.abacus.util.Throwables.BiConsumer
Package
Description
-
Uses of Throwables.BiConsumer in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic <A,
T, U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.c
(A a, Throwables.TriConsumer<A, T, U, E> triConsumer) static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.c
(Throwables.BiConsumer<T, U, E> biConsumer) static <A,
T, U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.cc
(A a, TriConsumer<A, T, U> triConsumer) static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.cc
(BiConsumer<T, U> biConsumer) static <T,
U, R, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.f2c
(Throwables.BiFunction<T, U, ? extends R, E> func) static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.from
(BiConsumer<T, U> consumer) static <T,
U, E extends Exception>
Throwables.BiConsumer<T,U, E> static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.sc
(Object mutex, Throwables.BiConsumer<T, U, E> biConsumer) SynchronizedBiConsumer
.Modifier and TypeMethodDescription<E extends Exception>
voidNoCachingNoUpdating.DisposableEntry.accept
(Throwables.BiConsumer<? super K, ? super V, E> action) <E extends Exception>
voidNoCachingNoUpdating.DisposablePair.accept
(Throwables.BiConsumer<? super L, ? super R, E> action) <E extends Exception>
voidPair.accept
(Throwables.BiConsumer<? super L, ? super R, E> action) static <T,
U, E extends Throwable>
voidSynchronized.accept
(T mutex, U u, Throwables.BiConsumer<? super T, ? super U, E> consumer) <E extends Exception>
voidTuple.Tuple2.accept
(Throwables.BiConsumer<? super T1, ? super T2, E> action) static <A,
T, E extends Throwable>
Throwables.Consumer<T,E> Fn.Fnn.c
(A a, Throwables.BiConsumer<A, T, E> biConsumer) static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.c
(Throwables.BiConsumer<T, U, E> biConsumer) static <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 <A,
T> Consumer<T> Fn.cc
(A a, Throwables.BiConsumer<A, T, ? extends Exception> biConsumer) static <T,
U> BiConsumer<T, U> Fn.cc
(Throwables.BiConsumer<T, U, ? extends Exception> biConsumer) Fn.Entries.cc
(Throwables.BiConsumer<? super K, ? super V, ? extends Exception> c) <R> CheckedStream<R,
E> CheckedStream.collapse
(Throwables.BiPredicate<? super T, ? super T, ? extends E> collapsible, Throwables.Supplier<R, E> supplier, Throwables.BiConsumer<? super R, ? super T, ? extends E> accumulator) <R> CheckedStream<R,
E> CheckedStream.collapse
(Throwables.TriPredicate<? super T, ? super T, ? super T, ? extends E> collapsible, Throwables.Supplier<R, E> supplier, Throwables.BiConsumer<? super R, ? super T, ? extends E> accumulator) CheckedStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator) CheckedStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator, Throwables.Function<? super R, ? extends RR, E4> finisher) <T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.divideColumn
(String columnName, Tuple.Tuple2<String, String> newColumnNames, Throwables.BiConsumer<T, Pair<Object, Object>, E> output) <T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.divideColumn
(String columnName, Tuple.Tuple3<String, String, String> newColumnNames, Throwables.BiConsumer<T, Triple<Object, Object, Object>, E> output) <T,
E extends Exception>
Builder.DataSetBuilderBuilder.DataSetBuilder.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.BiConsumer<T, Object[], E> output) <T,
E extends Exception>
voidDataSet.divideColumn
(String columnName, Tuple.Tuple2<String, String> newColumnNames, Throwables.BiConsumer<T, Pair<Object, Object>, E> output) <T,
E extends Exception>
voidDataSet.divideColumn
(String columnName, Tuple.Tuple3<String, String, String> newColumnNames, Throwables.BiConsumer<T, Triple<Object, Object, Object>, E> output) <T,
E extends Exception>
voidDataSet.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.BiConsumer<T, Object[], E> output) <T,
E extends Exception>
voidRowDataSet.divideColumn
(String columnName, Tuple.Tuple2<String, String> newColumnNames, Throwables.BiConsumer<T, Pair<Object, Object>, E> output) <T,
E extends Exception>
voidRowDataSet.divideColumn
(String columnName, Tuple.Tuple3<String, String, String> newColumnNames, Throwables.BiConsumer<T, Triple<Object, Object, Object>, E> output) <T,
E extends Exception>
voidRowDataSet.divideColumn
(String columnName, Collection<String> newColumnNames, Throwables.BiConsumer<T, Object[], E> output) static <K,
V, E extends Exception>
Throwables.Consumer<Map.Entry<K,V>, E> Fn.Entries.ec
(Throwables.BiConsumer<? super K, ? super V, E> c) <X extends Exception>
voidMultimap.flatForEach
(Throwables.BiConsumer<? super K, ? super E, X> action) Flat for each.CheckedStream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E2> flatMapper, Throwables.BiConsumer<? super T, ? super U, E3> action) <E extends Exception>
voidDataSet.forEach
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiConsumer<?, ?, E> action) <E extends Exception>
voidDataSet.forEach
(Tuple.Tuple2<String, String> columnNames, Throwables.BiConsumer<?, ?, E> action) <X extends Exception>
voidMultimap.forEach
(Throwables.BiConsumer<? super K, ? super V, X> action) static <A,
B, E extends Exception>
voidN.forEach
(A[] a, B[] b, A valueForNoneA, B valueForNoneB, Throwables.BiConsumer<? super A, ? super B, E> action) static <A,
B, E extends Exception>
voidN.forEach
(A[] a, B[] b, Throwables.BiConsumer<? super A, ? super B, E> action) N.forEach
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) static <A,
B, E extends Exception>
voidN.forEach
(Iterable<A> a, Iterable<B> b, A valueForNoneA, B valueForNoneB, Throwables.BiConsumer<? super A, ? super B, E> action) static <A,
B, E extends Exception>
voidN.forEach
(Iterable<A> a, Iterable<B> b, Throwables.BiConsumer<? super A, ? super B, E> action) N.forEach
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) static <A,
B, E extends Exception>
voidN.forEach
(Iterator<A> a, Iterator<B> b, A valueForNoneA, B valueForNoneB, Throwables.BiConsumer<? super A, ? super B, E> action) static <A,
B, E extends Exception>
voidN.forEach
(Iterator<A> a, Iterator<B> b, Throwables.BiConsumer<? super A, ? super B, E> action) static <K,
V, E extends Exception>
voidN.forEach
(Map<K, V> map, Throwables.BiConsumer<? super K, ? super V, E> action) N.forEach
(T[] a, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) <E extends Exception>
voidRowDataSet.forEach
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiConsumer<?, ?, E> action) <E extends Exception>
voidRowDataSet.forEach
(Tuple.Tuple2<String, String> columnNames, Throwables.BiConsumer<?, ?, E> action) N.forEachNonNull
(Iterable<? extends T> c, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.N.forEachNonNull
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.N.forEachNonNull
(T[] a, Throwables.Function<? super T, ? extends Iterable<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.<E2 extends Exception>
voidCheckedStream.forEachPair
(int increment, Throwables.BiConsumer<? super T, ? super T, E2> action) For each pair.<E2 extends Exception>
voidCheckedStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E2> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(Iterable<? extends T> c, int increment, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(Iterator<? extends T> iter, int increment, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(Iterator<? extends T> iter, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(T[] a, int increment, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(T[] a, Throwables.BiConsumer<? super T, ? super T, E> action) For each pair.abstract <E extends Exception>
voidBiIterator.forEachRemaining
(Throwables.BiConsumer<? super A, ? super B, E> action) For each remaining.<E2 extends Exception>
voidCheckedStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E2> action) Iterate and executeaction
until the flag is set true.<E extends Exception>
voidContinuableFuture.getThenAccept
(long timeout, TimeUnit unit, Throwables.BiConsumer<? super T, ? super Exception, E> action) Gets the then accept.<E extends Exception>
voidContinuableFuture.getThenAccept
(Throwables.BiConsumer<? super T, ? super Exception, E> action) Gets the then accept.<R> CheckedStream<R,
E> CheckedStream.mapMulti
(Throwables.BiConsumer<? super T, ? super Consumer<R>, ? extends E> mapper) long
CheckedStream.persist
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(File output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(Writer output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(Connection conn, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
CheckedStream.persist
(PreparedStatement stmt, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
CheckedStream.persist
(DataSource ds, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) <U> ContinuableFuture<Void>
ContinuableFuture.runAfterBoth
(ContinuableFuture<U> other, Throwables.BiConsumer<? super T, ? super U, ? extends Exception> action) Run after both.ContinuableFuture.runAfterEither
(ContinuableFuture<? extends T> other, Throwables.BiConsumer<? super T, ? super Exception, ? extends Exception> action) Run after either.ContinuableFuture.runAfterFirstSucceed
(ContinuableFuture<? extends T> other, Throwables.BiConsumer<? super T, ? super Exception, ? extends Exception> action) Run after either.static void
N.runUninterruptibly
(long timeout, TimeUnit unit, Throwables.BiConsumer<Long, TimeUnit, 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.CheckedStream.saveEach
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) CheckedStream.saveEach
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) CheckedStream.saveEach
(Connection conn, String insertSQL, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch call, please useonEach
oronEachE
.CheckedStream.saveEach
(PreparedStatement stmt, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch call, please useonEach
oronEachE
.CheckedStream.saveEach
(DataSource ds, String insertSQL, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch/parallel call, please useonEach
oronEachE
.static <A,
T, E extends Throwable>
Throwables.Consumer<T,E> Fn.Fnn.sc
(Object mutex, A a, Throwables.BiConsumer<A, T, E> biConsumer) SynchronizedConsumer
.static <T,
U, E extends Throwable>
Throwables.BiConsumer<T,U, E> Fn.Fnn.sc
(Object mutex, Throwables.BiConsumer<T, U, E> biConsumer) SynchronizedBiConsumer
.ContinuableFuture.thenRun
(Throwables.BiConsumer<? super T, ? super Exception, ? extends Exception> action) N.unzip
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, Pair<A, B>, E> unzip) static <T,
A, B, LC extends Collection<A>, RC extends Collection<B>, E extends Exception>
Pair<LC,RC> N.unzip
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, Pair<A, B>, E> unzip, IntFunction<? extends Collection<?>> supplier) N.unzipp
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, Triple<A, B, C>, E> unzip) static <T,
A, B, C, LC extends Collection<A>, MC extends Collection<B>, RC extends Collection<C>, E extends Exception>
Triple<LC,MC, RC> N.unzipp
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, Triple<A, B, C>, E> unzip, IntFunction<? extends Collection<?>> supplier) -
Uses of Throwables.BiConsumer in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
BiConsumer<T,
U> 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.BiConsumer<T,U, E> BiConsumer.toThrowable()
-
Uses of Throwables.BiConsumer in com.landawn.abacus.util.stream
Modifier and TypeMethodDescription<E extends Exception>
voidEntryStream.forEach
(Throwables.BiConsumer<? super K, ? super V, E> action) Stream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) abstract <E extends Exception>
voidStream.forEachPair
(int increment, Throwables.BiConsumer<? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E> action) Iterate and executeaction
until the flag is set true.abstract long
Stream.persist
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
Stream.persist
(File output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
Stream.persist
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
Stream.persist
(Writer output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
Stream.persist
(Connection conn, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persist
(PreparedStatement stmt, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persist
(DataSource ds, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) Stream.saveEach
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) Stream.saveEach
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) Stream.saveEach
(Connection conn, String insertSQL, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch call, please useonEach
oronEachE
.Stream.saveEach
(PreparedStatement stmt, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch call, please useonEach
oronEachE
.Stream.saveEach
(DataSource ds, String insertSQL, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) To support batch/parallel call, please useonEach
oronEachE
.