@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> java.util.function.ObjIntConsumer<T> |
sneaky(CheckedObjIntConsumer<T> consumer) |
|
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<java.lang.Throwable> handler) |
void accept(T t, int value) throws java.lang.Throwable
t - the first input argumentvalue - the second input argumentjava.lang.Throwablestatic <T> java.util.function.ObjIntConsumer<T> sneaky(CheckedObjIntConsumer<T> consumer)
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<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.