public interface TryConsumer<T, E extends Throwable>
This is similar to the Java Consumer function type. It has a checked exception on it to allow it to be used in lambda expressions on the Try monad.
E - the type of throwable thrown by accept(Object)| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
accept(T t)Performs this operation on the given argument. |