T
- arguments and return type@FunctionalInterface public interface CheckedBinaryOperator<T> extends CheckedBiFunction<T,T,T>
BinaryOperator
BinaryOperator
Modifier and Type | Method and Description |
---|---|
static <T> CheckedBinaryOperator<T> |
maxBy(CheckedComparator<? super T> comparator)
|
static <T> CheckedBinaryOperator<T> |
minBy(CheckedComparator<? super T> comparator)
|
andThen, apply
static <T> CheckedBinaryOperator<T> minBy(@Nonnull CheckedComparator<? super T> comparator)
T
- arguments and return typecomparator
- the comparator used to determine the minimum.CheckedBinaryOperator
NullPointerException
- if comparator
is null
static <T> CheckedBinaryOperator<T> maxBy(@Nonnull CheckedComparator<? super T> comparator)
T
- arguments and return typecomparator
- the comparator used to determine the maximum.CheckedBinaryOperator
NullPointerException
- if comparator
is null
Copyright © 2016–2018 earcam. All rights reserved.