T
- arguments and return typeE
- the type of Throwable declared@FunctionalInterface public interface CheckedBinaryOperator<T,E extends Throwable> extends CheckedBiFunction<T,T,T,E>
BinaryOperator
BinaryOperator
Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
maxBy(CheckedComparator<? super T,? extends E> comparator)
|
static <T,E extends Throwable> |
minBy(CheckedComparator<? super T,E> comparator)
|
andThen, apply
static <T,E extends Throwable> CheckedBinaryOperator<T,E> minBy(CheckedComparator<? super T,E> comparator)
T
- arguments and return typecomparator
- the comparator used to determine the minimum.CheckedBinaryOperator
NullPointerException
- if comparator
is null
static <T,E extends Throwable> CheckedBinaryOperator<T,E> maxBy(CheckedComparator<? super T,? extends E> 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.