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 extends PrimitiveList> |
ofAddAlll()
Of add alll.
|
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 <T extends PrimitiveList> |
ofRemoveAlll()
Of remove alll.
|
static <K,V,M extends Map<K,V>,U> |
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 extends PrimitiveList> BiFunction<T,T,T> ofAddAlll()
T
- 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 <T extends PrimitiveList> BiFunction<T,T,T> ofRemoveAlll()
T
- 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>,U> 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 it or use it in parallel stream.U
- T
- R
- func
- Copyright © 2020. All rights reserved.