| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.util | |
| com.landawn.abacus.util.function |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends Exception> |
DataSet.divideColumn(String columnName,
Collection<String> newColumnNames,
Throwables.BiConsumer<T,Object[],E> output) |
<T,E extends Exception> |
DataSet.divideColumn(String columnName,
Tuple.Tuple2<String,String> newColumnNames,
Throwables.BiConsumer<T,Pair<Object,Object>,E> output) |
<T,E extends Exception> |
DataSet.divideColumn(String columnName,
Tuple.Tuple3<String,String,String> newColumnNames,
Throwables.BiConsumer<T,Triple<Object,Object,Object>,E> output) |
<E extends Exception> |
DataSet.forEach(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiConsumer<?,?,E> action) |
<E extends Exception> |
DataSet.forEach(Tuple.Tuple2<String,String> columnNames,
Throwables.BiConsumer<?,?,E> action) |
| Modifier and Type | Method and Description |
|---|---|
static <A,T,U,E extends Throwable> |
Fn.Fnn.c(A a,
Throwables.TriConsumer<A,T,U,E> triConsumer) |
static <T,U,E extends Throwable> |
Fn.Fnn.c(Throwables.BiConsumer<T,U,E> biConsumer) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.cc(A a,
TriConsumer<A,T,U> triConsumer) |
static <T,U,E extends Throwable> |
Fn.Fnn.cc(BiConsumer<T,U> biConsumer) |
static <T,U,R,E extends Throwable> |
Fn.Fnn.f2c(Throwables.BiFunction<T,U,R,E> func) |
static <T,U,E extends Exception> |
Fn.Fnn.println(String separator) |
static <T,U,E extends Throwable> |
Fn.Fnn.sc(Object mutex,
Throwables.BiConsumer<T,U,E> biConsumer)
Synchronized
BiConsumer. |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
Pair.accept(Throwables.BiConsumer<? super L,? super R,E> action) |
<E extends Exception> |
SQLBuilder.accept(Throwables.BiConsumer<? super String,? super List<Object>,E> consumer) |
<E extends Exception> |
Tuple.Tuple2.accept(Throwables.BiConsumer<? super T1,? super T2,E> action) |
static <A,T,E extends Throwable> |
Fn.Fnn.c(A a,
Throwables.BiConsumer<A,T,E> biConsumer) |
static <T,U,E extends Throwable> |
Fn.Fnn.c(Throwables.BiConsumer<T,U,E> biConsumer) |
static <T,U,E extends Throwable> |
Fn.Fnn.c2f(Throwables.BiConsumer<T,U,E> biConsumer) |
static <T,U,R,E extends Throwable> |
Fn.Fnn.c2f(Throwables.BiConsumer<T,U,E> biConsumer,
R valueToReturn) |
static <A,T,E extends Exception> |
Fn.cc(A a,
Throwables.BiConsumer<A,T,E> biConsumer) |
static <K,V,E extends Exception> |
Fn.Entries.cc(Throwables.BiConsumer<? super K,? super V,E> c) |
static <T,U,E extends Exception> |
Fn.cc(Throwables.BiConsumer<T,U,E> biConsumer) |
<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,E2 extends Exception,E3 extends Exception> |
ExceptionalStream.collect(Throwables.Supplier<R,? extends E2> supplier,
Throwables.BiConsumer<? super R,? super T,? extends E3> accumulator) |
<R,RR,E2 extends Exception,E3 extends Exception,E4 extends Exception> |
ExceptionalStream.collect(Throwables.Supplier<R,? extends E2> supplier,
Throwables.BiConsumer<? super R,? super T,? extends E3> accumulator,
Throwables.Function<? super R,? extends RR,? extends E4> finisher) |
static <K,V,E extends Exception> |
Fn.Entries.ec(Throwables.BiConsumer<? super K,? super V,E> c) |
<X extends Exception> |
Multimap.flatForEach(Throwables.BiConsumer<? super K,? super E,X> action)
Flat for each.
|
static <A,B,E extends Exception> |
N.forEach(A[] a,
B[] b,
A valueForNoneA,
B valueForNoneB,
Throwables.BiConsumer<? super A,? super B,E> action) |
static <A,B,E extends Exception> |
N.forEach(A[] a,
B[] b,
Throwables.BiConsumer<? super A,? super B,E> action) |
static <A,B,E extends Exception> |
N.forEach(Collection<A> a,
Collection<B> b,
A valueForNoneA,
B valueForNoneB,
Throwables.BiConsumer<? super A,? super B,E> action) |
static <A,B,E extends Exception> |
N.forEach(Collection<A> a,
Collection<B> b,
Throwables.BiConsumer<? super A,? super B,E> action) |
static <T,U,E extends Exception,E2 extends Exception> |
N.forEach(Collection<T> c,
Throwables.Function<? super T,? extends Collection<U>,E> flatMapper,
Throwables.BiConsumer<? super T,? super U,E2> action) |
static <T,U,E extends Exception,E2 extends Exception> |
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> |
N.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> |
N.forEach(Iterator<A> a,
Iterator<B> b,
Throwables.BiConsumer<? super A,? super B,E> action) |
static <K,V,E extends Exception> |
Maps.forEach(Map<K,V> map,
Throwables.BiConsumer<? super K,? super V,E> action) |
static <T,U,E extends Exception,E2 extends Exception> |
N.forEach(T[] a,
Throwables.Function<? super T,? extends Collection<U>,E> flatMapper,
Throwables.BiConsumer<? super T,? super U,E2> action) |
<X extends Exception> |
Multimap.forEach(Throwables.BiConsumer<? super K,? super V,X> action) |
<U,E2 extends Exception,E3 extends Exception> |
ExceptionalStream.forEach(Throwables.Function<? super T,? extends Collection<? extends U>,? extends E2> flatMapper,
Throwables.BiConsumer<? super T,? super U,? extends E3> action) |
static <T,U,E extends Exception,E2 extends Exception> |
N.forEachNonNull(Collection<T> c,
Throwables.Function<? super T,? extends Collection<U>,E> flatMapper,
Throwables.BiConsumer<? super T,? super U,E2> action)
For each non null.
|
static <T,U,E extends Exception,E2 extends Exception> |
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.
|
static <T,U,E extends Exception,E2 extends Exception> |
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.
|
static <T,E extends Exception> |
N.forEachPair(Collection<? extends T> c,
Throwables.BiConsumer<? super T,? super T,E> action)
For each pair.
|
static <T,E extends Exception> |
N.forEachPair(Collection<? extends T> c,
Throwables.BiConsumer<? super T,? super T,E> action,
int increment)
For each pair.
|
static <T,E extends Exception> |
N.forEachPair(Iterator<? extends T> iter,
Throwables.BiConsumer<? super T,? super T,E> action)
For each pair.
|
static <T,E extends Exception> |
N.forEachPair(Iterator<? extends T> iter,
Throwables.BiConsumer<? super T,? super T,E> action,
int increment)
For each pair.
|
static <T,E extends Exception> |
N.forEachPair(T[] a,
Throwables.BiConsumer<? super T,? super T,E> action)
For each pair.
|
static <T,E extends Exception> |
N.forEachPair(T[] a,
Throwables.BiConsumer<? super T,? super T,E> action,
int increment)
For each pair.
|
<E2 extends Exception> |
ExceptionalStream.forEachPair(Throwables.BiConsumer<? super T,? super T,? extends E2> action)
For each pair.
|
<E2 extends Exception> |
ExceptionalStream.forEachPair(Throwables.BiConsumer<? super T,? super T,? extends E2> action,
int increment)
For each pair.
|
abstract <E extends Exception> |
BiIterator.forEachRemaining(Throwables.BiConsumer<? super A,? super B,E> action)
For each remaining.
|
void |
ExceptionalStream.forEachToBreak(Throwables.BiConsumer<? super T,MutableBoolean,E> action) |
long |
ExceptionalStream.persist(Connection conn,
String insertSQL,
int batchSize,
int batchInterval,
Throwables.BiConsumer<? super PreparedStatement,? super T,SQLException> stmtSetter) |
long |
ExceptionalStream.persist(PreparedStatement stmt,
int batchSize,
int batchInterval,
Throwables.BiConsumer<? super PreparedStatement,? super T,SQLException> stmtSetter) |
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> |
Fn.Fnn.sc(Object mutex,
A a,
Throwables.BiConsumer<A,T,E> biConsumer)
Synchronized
Consumer. |
static <T,U,E extends Throwable> |
Fn.Fnn.sc(Object mutex,
Throwables.BiConsumer<T,U,E> biConsumer)
Synchronized
BiConsumer. |
static <T,L,R,E extends Exception> |
N.unzip(Collection<? extends T> c,
Throwables.BiConsumer<? super T,Pair<L,R>,E> unzip) |
static <T,L,R,LC extends Collection<L>,RC extends Collection<R>,E extends Exception> |
N.unzip(Collection<? extends T> c,
Throwables.BiConsumer<? super T,Pair<L,R>,E> unzip,
IntFunction<? extends Collection<?>> supplier) |
static <T,L,M,R,E extends Exception> |
N.unzipp(Collection<? extends T> c,
Throwables.BiConsumer<? super T,Triple<L,M,R>,E> unzip) |
static <T,L,M,R,LC extends Collection<L>,MC extends Collection<M>,RC extends Collection<R>,E extends Exception> |
N.unzipp(Collection<? extends T> c,
Throwables.BiConsumer<? super T,Triple<L,M,R>,E> unzip,
IntFunction<? extends Collection<?>> supplier) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BiConsumer<T,U>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
|
Copyright © 2021. All rights reserved.