@FunctionalInterface public interface CheckedConsumer<T,E extends Exception>
Consumer, but allows throwing checked exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T param) |
default Consumer<T> |
toConsumer()
Returns
Consumer, that throw the configured Exception as
CheckedFunctionRuntimeException. |
Copyright © 2026. All rights reserved.