saker.util Documentation TaskDoc JavaDoc Packages
public interface ThreadUtils.ThrowingConsumer<T>
Functional interface similar to Consumer, but is capable of throwing an arbitrary exception.
TThe type of the argument that this consumer works on.
Methods
public void
accept(T value)
Executes the action for the given argument.
public abstract void accept(T value) throws Exception
Executes the action for the given argument.
valueThe argument.
ExceptionIn case of failure.