Modifier and Type | Method and Description |
---|---|
static <T> BinaryIOOperator<T> |
BinaryIOOperator.checked(BinaryOperator<T> operator)
Returns a binary operator that applies the
operator operator to its input, and unwraps any UncheckedIOException that is thrown
by throwing its cause . |
static <T> BinaryIOOperator<T> |
BinaryIOOperator.maxBy(Comparator<? super T> comparator)
Returns an
BinaryIOOperator which returns the greater of two elements according to the specified Comparator . |
static <T> BinaryIOOperator<T> |
BinaryIOOperator.minBy(Comparator<? super T> comparator)
Returns an
BinaryIOOperator which returns the lesser of two elements according to the specified Comparator . |
Modifier and Type | Method and Description |
---|---|
static <T> BinaryOperator<T> |
BinaryIOOperator.unchecked(BinaryIOOperator<T> operator)
Returns a binary operator that applies the
operator operator to its input, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.