@FunctionalInterface public interface CheckedIntConsumer
IntConsumer that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(int value) |
Performs this operation on the given argument.
|
static IntConsumer |
sneaky(CheckedIntConsumer consumer) |
|
static IntConsumer |
unchecked(CheckedIntConsumer consumer) |
|
static IntConsumer |
unchecked(CheckedIntConsumer consumer,
Consumer<Throwable> handler) |
void accept(int value)
throws Throwable
value - the input argumentThrowablestatic IntConsumer sneaky(CheckedIntConsumer consumer)
static IntConsumer unchecked(CheckedIntConsumer consumer)
static IntConsumer unchecked(CheckedIntConsumer consumer, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.