T
- the type of the first argument to the operationU
- the type of the second argument to the operationV
- the type of the third argument to the operation@FunctionalInterface
public interface IOTriConsumer<T,U,V>
BiConsumer
but throws IOException
.BiConsumer
Modifier and Type | Method and Description |
---|---|
void |
accept(T t,
U u,
V v)
Performs this operation on the given arguments.
|
default IOTriConsumer<T,U,V> |
andThen(IOTriConsumer<? super T,? super U,? super V> after)
Creates a composed
IOTriConsumer that performs, in sequence, this operation followed by the after
operation. |
static <T,U,V> IOTriConsumer<T,U,V> |
noop()
Returns the no-op singleton.
|
static <T,U,V> IOTriConsumer<T,U,V> noop()
T
- the type of the first argument to the operationU
- the type of the second argument to the operationV
- the type of the third argument to the operationvoid accept(T t, U u, V v) throws java.io.IOException
t
- the first input argumentu
- the second input argumentv
- the second third argumentjava.io.IOException
- if an I/O error occurs.default IOTriConsumer<T,U,V> andThen(IOTriConsumer<? super T,? super U,? super V> after)
IOTriConsumer
that performs, in sequence, this operation followed by the after
operation. If performing either operation throws an exception, it is relayed to the caller of the composed operation.
If performing this operation throws an exception, the after
operation will not be performed.after
- the operation to perform after this operationIOTriConsumer
that performs in sequence this operation followed by the after
operationjava.lang.NullPointerException
- if after
is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved