| Modifier and Type | Method and Description |
|---|---|
static <T> ObjIntIOConsumer<T> |
ObjIntIOConsumer.checked(ObjIntConsumer<? super T> operation)
Returns an
ObjIntIOConsumer that performs the operation operation, and unwraps any UncheckedIOException that is
thrown by throwing its cause. |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjIntConsumer<T> |
ObjIntIOConsumer.unchecked(ObjIntIOConsumer<? super T> operation)
Returns an
ObjIntConsumer that performs the operation operation, and wraps any IOException that is thrown in an
UncheckedIOException. |
Copyright © 2017–2020. All rights reserved.