Modifier and Type | Method and Description |
---|---|
static <T> UnaryIOOperator<T> |
UnaryIOOperator.checked(UnaryOperator<T> operator)
Returns a unary operator that applies the
operator operator to its input, and unwraps any UncheckedIOException that is thrown
by throwing its cause . |
static <T> UnaryIOOperator<T> |
UnaryIOOperator.identity()
Returns a unary operator that always returns its input argument.
|
Modifier and Type | Method and Description |
---|---|
static <T> UnaryOperator<T> |
UnaryIOOperator.unchecked(UnaryIOOperator<T> operator)
Returns a unary 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.