Modifier and Type | Method and Description |
---|---|
default IOConsumer<T> |
IOConsumer.andThen(IOConsumer<? super T> after)
Returns a composed
IOConsumer that performs, in sequence, this operation followed by the after operation. |
static <T> IOConsumer<T> |
IOConsumer.checked(Consumer<? super T> operation)
Returns an
IOConsumer that performs the operation operation, and unwraps any UncheckedIOException that is thrown by
throwing its cause . |
Modifier and Type | Method and Description |
---|---|
default IOConsumer<T> |
IOConsumer.andThen(IOConsumer<? super T> after)
Returns a composed
IOConsumer that performs, in sequence, this operation followed by the after operation. |
static <T> Consumer<T> |
IOConsumer.unchecked(IOConsumer<? super T> operation)
Returns a
Consumer that performs the operation operation, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.