| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.util | |
| com.landawn.abacus.util.function |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter,
int max) |
| Modifier and Type | Method and Description |
|---|---|
static <T,U,E extends Throwable> |
Fn.Fnn.not(Throwables.BiPredicate<T,U,E> biPredicate) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.p(A a,
Throwables.TriPredicate<A,T,U,E> triPredicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.p(Throwables.BiPredicate<T,U,E> biPredicate) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.pp(A a,
TriPredicate<A,T,U> triPredicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.pp(BiPredicate<T,U> biPredicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
Throwables.BiPredicate<T,U,E> biPredicate)
Synchronized
BiPredicate. |
| Modifier and Type | Method and Description |
|---|---|
<R,A> ExceptionalStream<R,E> |
ExceptionalStream.collapse(Throwables.BiPredicate<? super T,? super T,? extends E> collapsible,
Collector<? super T,A,R> collector) |
<C extends Collection<T>> |
ExceptionalStream.collapse(Throwables.BiPredicate<? super T,? super T,? extends E> collapsible,
Supplier<? extends C> supplier) |
ExceptionalStream<T,E> |
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.
|
<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) |
<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) |
static <E extends Exception> |
IOUtil.copyFileToDirectory(File srcFile,
File destDir,
boolean preserveFileDate,
Throwables.BiPredicate<? super File,? super File,E> filter)
Copy the specified
scrFile if it's a file or its sub files/directories if it's a directory to the target destDir with the specified filter. |
static <E extends Exception> |
IOUtil.deleteFiles(File dir,
Throwables.BiPredicate<? super File,? super File,E> filter)
Delete the specified
dir if it's a file or its sub files/directories if it's a directory with the specified filter. |
static <K,V,E extends Exception> |
Fn.Entries.ep(Throwables.BiPredicate<? super K,? super V,E> p) |
static <K,V,E extends Exception> |
Maps.filter(Map<K,V> map,
Throwables.BiPredicate<? super K,? super V,E> predicate) |
<X extends Exception> |
ListMultimap.filter(Throwables.BiPredicate<? super K,? super List<E>,X> filter) |
<X extends Exception> |
SetMultimap.filter(Throwables.BiPredicate<? super K,? super Set<E>,X> filter) |
<X extends Exception> |
Multimap.filter(Throwables.BiPredicate<? super K,? super V,X> filter) |
<E extends Exception> |
Pair.filter(Throwables.BiPredicate<? super L,? super R,E> predicate) |
<E extends Exception> |
Tuple.Tuple2.filter(Throwables.BiPredicate<? super T1,? super T2,E> predicate) |
<E extends Exception> |
Multiset.filter(Throwables.BiPredicate<? super T,Integer,E> filter) |
<U> ExceptionalStream<Pair<T,U>,E> |
ExceptionalStream.fullJoin(Collection<? extends U> b,
Throwables.BiPredicate<? super T,? super U,? extends E> predicate) |
static <E extends Exception> |
ClassUtil.getPropNames(Object entity,
Throwables.BiPredicate<Object,com.landawn.abacus.type.Type<Object>,E> propValueFilter) |
<U> ExceptionalStream<Pair<T,U>,E> |
ExceptionalStream.innerJoin(Collection<? extends U> b,
Throwables.BiPredicate<? super T,? super U,? extends E> predicate) |
<U> ExceptionalStream<Pair<T,U>,E> |
ExceptionalStream.leftJoin(Collection<? extends U> b,
Throwables.BiPredicate<? super T,? super U,? extends E> predicate) |
static <E extends Exception> |
IOUtil.list(File parentPath,
boolean recursively,
Throwables.BiPredicate<? super File,? super File,E> filter) |
static <E extends Exception> |
IOUtil.listFiles(File parentPath,
boolean recursively,
Throwables.BiPredicate<? super File,? super File,E> filter) |
static <T,U,E extends Throwable> |
Fn.Fnn.not(Throwables.BiPredicate<T,U,E> biPredicate) |
static <K,V,E extends Exception> |
ExceptionalStream.ofKeys(Map<K,V> map,
Throwables.BiPredicate<? super K,? super V,E> filter) |
static <K,V> ExceptionalStream<K,RuntimeException> |
ExceptionalStream.Seq.ofKeys(Map<K,V> map,
Throwables.BiPredicate<? super K,? super V,RuntimeException> filter) |
static <K,V,E extends Exception> |
ExceptionalStream.ofValues(Map<K,V> map,
Throwables.BiPredicate<? super K,? super V,E> filter) |
static <K,V> ExceptionalStream<V,RuntimeException> |
ExceptionalStream.Seq.ofValues(Map<K,V> map,
Throwables.BiPredicate<? super K,? super V,RuntimeException> filter) |
static <A,T,E extends Throwable> |
Fn.Fnn.p(A a,
Throwables.BiPredicate<A,T,E> biPredicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.p(Throwables.BiPredicate<T,U,E> biPredicate) |
static <A,T,E extends Exception> |
Fn.pp(A a,
Throwables.BiPredicate<A,T,E> biPredicate) |
static <K,V,E extends Exception> |
Fn.Entries.pp(Throwables.BiPredicate<? super K,? super V,E> p) |
static <T,U,E extends Exception> |
Fn.pp(Throwables.BiPredicate<T,U,E> biPredicate) |
<X extends Exception> |
Multimap.removeAllIf(Collection<?> values,
Throwables.BiPredicate<? super K,? super V,X> predicate)
Remove the specified values (all occurrences) from the value set associated with keys which satisfy the specified
predicate. |
<X extends Exception> |
Multimap.removeAllIf(Throwables.BiPredicate<? super K,? super V,X> predicate)
Remove all the values associated with keys which satisfy the specified
predicate. |
<E extends Exception> |
Multiset.removeAllOccurrencesIf(Throwables.BiPredicate<? super T,? super Integer,E> predicate)
Removes the all occurrences if.
|
<X extends Exception> |
Multimap.removeIf(E value,
Throwables.BiPredicate<? super K,? super V,X> predicate)
Remove the specified value (one occurrence) from the value set associated with keys which satisfy the specified
predicate. |
<E extends Exception> |
Multiset.removeIf(int occurrencesToRemove,
Throwables.BiPredicate<? super T,? super Integer,E> predicate)
Removes the if.
|
<X extends Exception> |
Multimap.replaceAllIf(Throwables.BiPredicate<? super K,? super V,X> predicate,
Collection<? extends E> oldValues,
E newValue)
Deprecated.
|
<X extends Exception> |
Multimap.replaceAllIf(Throwables.BiPredicate<? super K,? super V,X> predicate,
E oldValue,
E newValue)
Replace the specified
oldValue (all occurrences) from the value set associated with keys which satisfy the specified predicate with the specified newValue. |
<X extends Exception> |
Multimap.replaceIf(Throwables.BiPredicate<? super K,? super V,X> predicate,
E oldValue,
E newValue)
Replace the specified
oldValue (one occurrence) from the value set associated with keys which satisfy the specified predicate with the specified newValue. |
<E extends Exception> |
Multiset.replaceIf(Throwables.BiPredicate<? super T,? super Integer,E> predicate,
int newOccurrences) |
<U> ExceptionalStream<Pair<T,U>,E> |
ExceptionalStream.rightJoin(Collection<? extends U> b,
Throwables.BiPredicate<? super T,? super U,? extends E> predicate) |
<E extends Exception> |
Pair.setLeftIf(L newLeft,
Throwables.BiPredicate<? super Pair<L,R>,? super L,E> predicate)
Set to the specified
newLeft and returns true
if predicate returns true. |
<E extends Exception> |
Triple.setLeftIf(L newLeft,
Throwables.BiPredicate<? super Triple<L,M,R>,? super L,E> predicate)
Set to the specified
newLeft and returns true
if predicate returns true. |
<E extends Exception> |
Triple.setMiddleIf(M newMiddle,
Throwables.BiPredicate<? super Triple<L,M,R>,? super M,E> predicate)
Set to the specified
newMiddle and returns true
if predicate returns true. |
<E extends Exception> |
Pair.setRightIf(R newRight,
Throwables.BiPredicate<? super Pair<L,R>,? super R,E> predicate)
Set to the specified
newRight and returns true
if predicate returns true. |
<E extends Exception> |
Triple.setRightIf(R newRight,
Throwables.BiPredicate<? super Triple<L,M,R>,? super R,E> predicate)
Set to the specified
newRight and returns true
if predicate returns true. |
static <A,T,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
A a,
Throwables.BiPredicate<A,T,E> biPredicate)
Synchronized
Predicate. |
static <T,U,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
Throwables.BiPredicate<T,U,E> biPredicate)
Synchronized
BiPredicate. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BiPredicate<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.