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