@FunctionalInterface public interface CheckedIntConsumer
IntConsumer that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(int value)
Performs this operation on the given argument.
|
static java.util.function.IntConsumer |
unchecked(CheckedIntConsumer consumer) |
static java.util.function.IntConsumer |
unchecked(CheckedIntConsumer consumer,
java.util.function.Consumer<Throwable> handler) |
void accept(int value)
throws Throwable
value - the input argumentThrowablestatic java.util.function.IntConsumer unchecked(CheckedIntConsumer consumer)
Unchecked#intConsumer(CheckedIntConsumer)}static java.util.function.IntConsumer unchecked(CheckedIntConsumer consumer, java.util.function.Consumer<Throwable> handler)
Unchecked#intConsumer(CheckedIntConsumer, Consumer)}Copyright © 2016. All Rights Reserved.