Uses of Interface
io.blt.util.functional.ThrowingConsumer
-
Uses of ThrowingConsumer in io.blt.util
Modifier and TypeMethodDescriptionstatic <T,
E extends Throwable>
TObj.poke
(T instance, ThrowingConsumer<T, E> consumer) Passes theinstance
to theconsumer
, then returns theinstance
.static <T,
E extends Throwable>
TObj.tap
(Supplier<T> supplier, ThrowingConsumer<T, E> consumer) Calls thesupplier
to retrieve an instance which is mutated by theconsumer
then returned.