| Modifier and Type | Method and Description |
|---|---|
static <U,T,R> BiFunction<U,T,R> |
indexed(IndexedBiFunction<U,T,R> func)
Returns a stateful
BiPredicate. |
static <T,C extends Collection<? super T>> |
ofAdd() |
static <T,C extends Collection<T>> |
ofAddAll()
Of add all.
|
static <T> BiFunction<StringBuilder,T,StringBuilder> |
ofAppend() |
static BiFunction<Joiner,Joiner,Joiner> |
ofMerge() |
static <K,V,M extends Map<K,V>,E extends Map.Entry<K,V>> |
ofPut() |
static <K,V,M extends Map<K,V>> |
ofPutAll()
Of put all.
|
static <T,C extends Collection<? super T>> |
ofRemove() |
static <T,C extends Collection<T>> |
ofRemoveAll()
Of remove all.
|
static <K,V,M extends Map<K,V>> |
ofRemoveByKey()
Of remove by key.
|
static <T,U> BiFunction<T,U,T> |
returnFirst() |
static <T,U> BiFunction<T,U,U> |
returnSecond() |
public static <T,U> BiFunction<T,U,T> returnFirst()
T - U - public static <T,U> BiFunction<T,U,U> returnSecond()
T - U - public static <T,C extends Collection<? super T>> BiFunction<C,T,C> ofAdd()
T - C - public static <T,C extends Collection<T>> BiFunction<C,C,C> ofAddAll()
T - C - public static <T,C extends Collection<? super T>> BiFunction<C,T,C> ofRemove()
T - C - public static <T,C extends Collection<T>> BiFunction<C,C,C> ofRemoveAll()
T - C - public static <K,V,M extends Map<K,V>,E extends Map.Entry<K,V>> BiFunction<M,E,M> ofPut()
K - the key typeV - the value typeM - E - public static <K,V,M extends Map<K,V>> BiFunction<M,M,M> ofPutAll()
K - the key typeV - the value typeM - public static <K,V,M extends Map<K,V>> BiFunction<M,K,M> ofRemoveByKey()
K - the key typeV - the value typeM - U - public static BiFunction<Joiner,Joiner,Joiner> ofMerge()
public static <T> BiFunction<StringBuilder,T,StringBuilder> ofAppend()
T - @Beta @SequentialOnly @Stateful public static <U,T,R> BiFunction<U,T,R> indexed(IndexedBiFunction<U,T,R> func)
BiPredicate. Don't save or cache for reuse or use it in parallel stream.U - T - R - func - Copyright © 2021. All rights reserved.