Modifier and Type | Method and Description |
---|---|
static <T> ToIntIOFunction<T> |
ToIntIOFunction.checked(ToIntFunction<? super T> 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 <T> ToIntFunction<T> |
ToIntIOFunction.unchecked(ToIntIOFunction<? super T> 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.