| Package | Description |
|---|---|
| com.landawn.abacus.util | |
| com.landawn.abacus.util.function | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Method and Description |
|---|---|
static <T> BiFunction<T,T,MergeResult> |
Fn.alternated()
Returns a stateful
BiFunction. |
static <T> BiFunction<T,T,MergeResult> |
MergeResult.alternated()
Deprecated.
Use
Fn.alternated() instead |
static <T,U> BiFunction<T,U,Void> |
Fn.c2f(BiConsumer<? super T,? super U> action) |
static <T,U,R> BiFunction<T,U,R> |
Fn.c2f(BiConsumer<? super T,? super U> action,
R valueToReturn) |
static <T extends Comparable<? super T>> |
Fn.compare() |
static <T> BiFunction<T,T,Integer> |
Fn.compare(Comparator<? super T> cmp) |
static <K,V> BiFunction<K,V,Map.Entry<K,V>> |
Fn.entry() |
static <A,T,U,R> BiFunction<T,U,R> |
Fn.f(A a,
TriFunction<A,T,U,R> triFunction) |
static <T,U,R> BiFunction<T,U,R> |
Fn.f(BiFunction<T,U,R> biFunction) |
static <A,T,U,R,E extends Exception> |
Fn.ff(A a,
Throwables.TriFunction<A,T,U,R,E> triFunction) |
static <T,U,R,E extends Exception> |
Fn.ff(Throwables.BiFunction<T,U,R,E> biFunction) |
static <T,U,R,E extends Exception> |
Fn.ff(Throwables.BiFunction<T,U,R,E> biFunction,
R defaultOnError) |
static <U,T,R> BiFunction<U,T,R> |
Fn.BiFunctions.indexed(IndexedBiFunction<U,T,R> func)
Returns a stateful
BiPredicate. |
static <T extends Comparable> |
MergeResult.maxFirst() |
static <T> BiFunction<T,T,MergeResult> |
MergeResult.maxFirst(Comparator<? super T> cmp) |
static <T extends Comparable> |
MergeResult.minFirst() |
static <T> BiFunction<T,T,MergeResult> |
MergeResult.minFirst(Comparator<? super T> cmp) |
static <T,C extends Collection<? super T>> |
Fn.BiFunctions.ofAdd() |
static <T,C extends Collection<T>> |
Fn.BiFunctions.ofAddAll()
Of add all.
|
static <T> BiFunction<StringBuilder,T,StringBuilder> |
Fn.BiFunctions.ofAppend() |
static BiFunction<Joiner,Joiner,Joiner> |
Fn.BiFunctions.ofMerge() |
static <K,V,M extends Map<K,V>,E extends Map.Entry<K,V>> |
Fn.BiFunctions.ofPut() |
static <K,V,M extends Map<K,V>> |
Fn.BiFunctions.ofPutAll()
Of put all.
|
static <T,C extends Collection<? super T>> |
Fn.BiFunctions.ofRemove() |
static <T,C extends Collection<T>> |
Fn.BiFunctions.ofRemoveAll()
Of remove all.
|
static <K,V,M extends Map<K,V>> |
Fn.BiFunctions.ofRemoveByKey()
Of remove by key.
|
static <L,R> BiFunction<L,R,Pair<L,R>> |
Fn.pair() |
static <T,U> BiFunction<T,U,T> |
Fn.BiFunctions.returnFirst() |
static <T,U> BiFunction<T,U,U> |
Fn.BiFunctions.returnSecond() |
static <T,U,R> BiFunction<T,U,R> |
Fn.sf(Object mutex,
BiFunction<T,U,R> biFunction)
Synchronized
BiFunction. |
static <T,U> BiFunction<T,U,Tuple.Tuple2<T,U>> |
Fn.tuple2() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,R> Function<Map.Entry<K,V>,R> |
Fn.applyKeyVal(BiFunction<? super K,? super V,R> func)
Apply key val.
|
static <A,T,R> Function<T,R> |
Fn.f(A a,
BiFunction<A,T,R> biFunction) |
static <K,V,T> Function<Map.Entry<K,V>,T> |
Fn.Entries.f(BiFunction<? super K,? super V,? extends T> f) |
static <T,U,R> BiFunction<T,U,R> |
Fn.f(BiFunction<T,U,R> biFunction) |
static <T,U> BiConsumer<T,U> |
Fn.f2c(BiFunction<? super T,? super U,?> func) |
static <A,T,R,E extends Throwable> |
Fn.Fnn.ff(A a,
BiFunction<A,T,R> biFunction) |
static <T,U,R,E extends Throwable> |
Fn.Fnn.ff(BiFunction<T,U,R> biFunction) |
static <T,U> ObjIterator<T> |
Iterators.generate(U init,
BiPredicate<? super U,T> hasNext,
BiFunction<? super U,T,T> supplier) |
abstract <R> ObjIterator<R> |
BiIterator.map(BiFunction<? super A,? super B,R> mapper) |
static <T> List<T> |
N.merge(Collection<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T,C extends Collection<T>> |
N.merge(Collection<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector,
IntFunction<? extends C> supplier) |
static <T> ObjIterator<T> |
Iterators.merge(Collection<? extends Iterator<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(Collection<? extends T> a,
Collection<? extends T> b,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(Iterator<? extends T> a,
Iterator<? extends T> b,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(List<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.mergge(Collection<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <A,T,R> Function<T,R> |
Fn.sf(Object mutex,
A a,
BiFunction<A,T,R> biFunction)
Synchronized
Function. |
static <T,U,R> BiFunction<T,U,R> |
Fn.sf(Object mutex,
BiFunction<T,U,R> biFunction)
Synchronized
BiFunction. |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
A valueForNoneA,
B valueForNoneB,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
A valueForNoneA,
B valueForNoneB,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
BiFunction<? super A,? super B,R> zipFunction) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BinaryOperator<T>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
|
| Modifier and Type | Method and Description |
|---|---|
static <T,A1,A2,R1,R2,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
BiFunction<? super R1,? super R2,R> finisher) |
static <T,T2,U> Collector<T,?,List<U>> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends T2>> flatMapper,
BiFunction<? super T,? super T2,? extends U> mapper) |
static <T,T2,U,A,R> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends T2>> flatMapper,
BiFunction<? super T,? super T2,? extends U> mapper,
Collector<? super U,A,R> downstream) |
static <T,R> Collector<T,?,u.Optional<R>> |
Collectors.minMax(Comparator<? super T> comparator,
BiFunction<? super T,? super T,? extends R> finisher)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,R> Collector<T,?,u.Optional<R>> |
Collectors.minMaxBy(Function<? super T,? extends Comparable> keyMapper,
BiFunction<? super T,? super T,? extends R> finisher) |
Copyright © 2021. All rights reserved.