T
- The type of object consumed.E
- The type of exception thrown.@FunctionalInterface public interface Consumer<T,E extends Exception>
Consumer
functional interface which can throw a checked Exception.Modifier and Type | Method and Description |
---|---|
void |
accept(T t)
Consume the value.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.