Uses of Interface
io.blt.util.functional.ThrowingConsumer
Packages that use ThrowingConsumer
-
Uses of ThrowingConsumer in io.blt.util
Methods in io.blt.util with parameters of type ThrowingConsumerModifier and TypeMethodDescriptionstatic <T,E extends Throwable>
TObj.poke(T instance, ThrowingConsumer<T, E> consumer) Passes theinstanceto theconsumer, then returns theinstance.static <T,E extends Throwable>
TObj.tap(Supplier<T> supplier, ThrowingConsumer<T, E> consumer) Calls thesupplierto retrieve an instance which is mutated by theconsumerthen returned.