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