Uses of Interface
io.reacted.patterns.UnChecked.CheckedSupplier
Packages that use UnChecked.CheckedSupplier
-
Uses of UnChecked.CheckedSupplier in io.reacted.patterns
Subinterfaces of UnChecked.CheckedSupplier in io.reacted.patternsModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceMethods in io.reacted.patterns with parameters of type UnChecked.CheckedSupplierModifier and TypeMethodDescriptionTry.recover(Class<X> exception, UnChecked.CheckedSupplier<Try<? extends T>> successProvider) Recover the status of a Try, if failed, a success Try is generated using the provided supplier Will be returned the original Try if it is successful, otherwise the try returned by the mapper Different recover calls can be chains for fine exception handlingstatic <T> Supplier<T>UnChecked.supplier(UnChecked.CheckedSupplier<T> checkedSupplier)