public interface BinaryOperator<T> extends BiFunction<T,T,T>, java.util.function.BinaryOperator<T>, Try.BinaryOperator<T,java.lang.RuntimeException>
Modifier and Type | Method and Description |
---|---|
static <T> BinaryOperator<T> |
maxBy(java.util.Comparator<? super T> comparator) |
static <T> BinaryOperator<T> |
minBy(java.util.Comparator<? super T> comparator) |
static <T,C extends java.util.Collection<T>> |
ofAddAll() |
static <K,V,M extends java.util.Map<K,V>> |
ofPutAll() |
static <T,C extends java.util.Collection<T>> |
ofRemoveAll() |
apply, create, of, ofAdd, ofRemove
create, of
static <T,C extends java.util.Collection<T>> BinaryOperator<C> ofAddAll()
static <T,C extends java.util.Collection<T>> BinaryOperator<C> ofRemoveAll()
static <K,V,M extends java.util.Map<K,V>> BinaryOperator<M> ofPutAll()
static <T> BinaryOperator<T> minBy(java.util.Comparator<? super T> comparator)
minBy
in interface java.util.function.BinaryOperator<T>
static <T> BinaryOperator<T> maxBy(java.util.Comparator<? super T> comparator)
maxBy
in interface java.util.function.BinaryOperator<T>