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, 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
.static Throwables.BiConsumer<Collection<?>,
Writer, IOException> Fn.Fnn.writeCSVLine()
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) Fn.cc
(A a, Throwables.BiConsumer<A, T, E> biConsumer) static <T,
U, E extends Exception>
BiConsumer<T,U> Fn.cc
(Throwables.BiConsumer<T, U, E> biConsumer) Fn.Entries.cc
(Throwables.BiConsumer<? super K, ? super V, E> c) <R> ExceptionalStream<R,
E> ExceptionalStream.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> ExceptionalStream<R,
E> ExceptionalStream.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) ExceptionalStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator) ExceptionalStream.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.<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) ExceptionalStream.forEach
(Throwables.Function<? super T, ? extends Collection<? extends U>, E2> flatMapper, Throwables.BiConsumer<? super T, ? super U, E3> action) static <K,
V, E extends Exception>
voidMaps.forEach
(Map<K, V> map, Throwables.BiConsumer<? super K, ? super V, 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) 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
(Iterable<T> c, Throwables.Function<? super T, ? extends Collection<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) N.forEach
(Iterator<? extends T> iter, Throwables.Function<? super T, ? extends Collection<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) N.forEach
(T[] a, Throwables.Function<? super T, ? extends Collection<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<T> c, Throwables.Function<? super T, ? extends Collection<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 Collection<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.N.forEachNonNull
(T[] a, Throwables.Function<? super T, ? extends Collection<U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) For each non null.<E2 extends Exception>
voidExceptionalStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E2> action) For each pair.<E2 extends Exception>
voidExceptionalStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E2> action, int increment) 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
(Iterable<? extends T> c, Throwables.BiConsumer<? super T, ? super T, E> action, int increment) 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
(Iterator<? extends T> iter, Throwables.BiConsumer<? super T, ? super T, E> action, int increment) For each pair.static <T,
E extends Exception>
voidN.forEachPair
(T[] a, 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, int increment) For each pair.abstract <E extends Exception>
voidBiIterator.forEachRemaining
(Throwables.BiConsumer<? super A, ? super B, E> action) For each remaining.<E2 extends Exception>
voidExceptionalStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E2> action) <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> ExceptionalStream<R,
E> ExceptionalStream.mapMulti
(Throwables.BiConsumer<? super T, ? super Consumer<R>, ? extends E> mapper) long
ExceptionalStream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, File file) long
ExceptionalStream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, Writer writer) long
ExceptionalStream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, String header, String tail, File file) long
ExceptionalStream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, String header, String tail, Writer writer) long
ExceptionalStream.persist
(Connection conn, String insertSQL, int batchSize, int batchInterval, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
ExceptionalStream.persist
(PreparedStatement stmt, int batchSize, int batchInterval, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) <U,
E extends Exception>
ContinuableFuture<Void>ContinuableFuture.runAfterBoth
(ContinuableFuture<U> other, Throwables.BiConsumer<? super T, ? super U, E> action) Run after both.<E extends Exception>
ContinuableFuture<Void>ContinuableFuture.runAfterEither
(ContinuableFuture<? extends T> other, Throwables.BiConsumer<? super T, ? super Exception, E> 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.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
.<E extends Exception>
ContinuableFuture<Void>ContinuableFuture.thenRun
(Throwables.BiConsumer<? super T, ? super Exception, E> 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 Collection<? extends U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) abstract <E extends Exception>
voidStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E> action, int increment) Slide withwindowSize = 2
and the specifiedincrement
, thenconsume
by the specifiedmapper
.abstract <E extends Exception>
voidStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E> action) abstract long
Stream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, File file) abstract long
Stream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, Writer writer) abstract long
Stream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, String header, String tail, File file) abstract long
Stream.persist
(Throwables.BiConsumer<? super T, Writer, IOException> writeLine, String header, String tail, Writer writer) abstract long
Stream.persist
(Connection conn, String insertSQL, int batchSize, int batchInterval, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persist
(PreparedStatement stmt, int batchSize, int batchInterval, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter)