Modifier and Type | Method and Description |
---|---|
static <R> IntIOFunction<R> |
IntIOFunction.checked(IntFunction<? extends R> function)
Returns a function that applies the
function function to its input, and unwraps any UncheckedIOException that is thrown by
throwing its cause . |
Modifier and Type | Method and Description |
---|---|
static <R> IntFunction<R> |
IntIOFunction.unchecked(IntIOFunction<? extends R> function)
Returns a function that applies the
function function to its input, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.