T
- type of the consumed elements.@FunctionalInterface public interface ThrowingConsumer<T>
Consumer
interface enhanced with the ability to throw
an exception.Modifier and Type | Method and Description |
---|---|
void |
accept(T t)
Performs this operation on the given argument.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.