T - 参数和返回值类型@FunctionalInterface public interface SerBinaryOperator<T> extends BinaryOperator<T>, Serializable
BinaryOperator| Modifier and Type | Method and Description |
|---|---|
default T |
apply(T t,
T u)
Applies this function to the given arguments.
|
T |
applying(T t,
T u)
Applies this function to the given arguments.
|
static <T> SerBinaryOperator<T> |
justAfter()
just after
|
static <T> SerBinaryOperator<T> |
justBefore()
just before
|
static <T> SerBinaryOperator<T> |
maxBy(Comparator<? super T> comparator)
Returns a
SerBinaryOperator which returns the greater of two elements
according to the specified Comparator. |
static <T> SerBinaryOperator<T> |
minBy(Comparator<? super T> comparator)
Returns a
SerBinaryOperator which returns the lesser of two elements
according to the specified Comparator. |
andThendefault T apply(T t, T u)
apply in interface BiFunction<T,T,T>t - the first function argumentu - the second function argumentstatic <T> SerBinaryOperator<T> minBy(Comparator<? super T> comparator)
SerBinaryOperator which returns the lesser of two elements
according to the specified Comparator.minBy in interface BinaryOperator<T>T - the type of the input arguments of the comparatorcomparator - a Comparator for comparing the two valuesSerBiUnOp which returns the lesser of its operands,
according to the supplied ComparatorNullPointerException - if the argument is nullstatic <T> SerBinaryOperator<T> maxBy(Comparator<? super T> comparator)
SerBinaryOperator which returns the greater of two elements
according to the specified Comparator.maxBy in interface BinaryOperator<T>T - the type of the input arguments of the comparatorcomparator - a Comparator for comparing the two valuesSerBiUnOp which returns the greater of its operands,
according to the supplied ComparatorNullPointerException - if the argument is nullstatic <T> SerBinaryOperator<T> justBefore()
T - typestatic <T> SerBinaryOperator<T> justAfter()
T - typeCopyright © 2025. All rights reserved.