T - is the type that is consumed by the function.E - is the exception type that's thrown.@FunctionalInterface public static interface Functional.ConsumerThrows<T,E extends Exception>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T obj) |
Copyright © 2018. All rights reserved.