Top Description Methods
org.wildfly.common.function

public Interface ExceptionObjIntConsumer<T, E extends java.lang.Exception>

Annotations
@FunctionalInterface
Imports
org.wildfly.common.Assert

A two-argument object and integer consumer which can throw an exception.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public void
accept(T
the first argument
t
,
int
the second argument
value
)

Performs this operation on the given arguments.

public default ExceptionObjIntConsumer<T, E>
andThen(ExceptionObjIntConsumer<? super T, ? extends E> after)

public default ExceptionObjIntConsumer<T, E>
andThen(ExceptionObjLongConsumer<? super T, ? extends E> after)

public default ExceptionObjIntConsumer<T, E>
compose(ExceptionObjIntConsumer<? super T, ? extends E> before)

public default ExceptionObjIntConsumer<T, E>
compose(ExceptionObjLongConsumer<? super T, ? extends E> before)

Method Detail

acceptback to summary
public void accept(T t, int value) throws ExceptionBiConsumer:E

Performs this operation on the given arguments.

Parameters
t:T

the first argument

value:int

the second argument

Exceptions
ExceptionBiConsumer:E:
if an exception occurs
andThenback to summary
public default ExceptionObjIntConsumer<T, E> andThen(ExceptionObjIntConsumer<? super T, ? extends E> after)
andThenback to summary
public default ExceptionObjIntConsumer<T, E> andThen(ExceptionObjLongConsumer<? super T, ? extends E> after)
composeback to summary
public default ExceptionObjIntConsumer<T, E> compose(ExceptionObjIntConsumer<? super T, ? extends E> before)
composeback to summary
public default ExceptionObjIntConsumer<T, E> compose(ExceptionObjLongConsumer<? super T, ? extends E> before)