Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface PredicateWithExceptions1<T,E extends Throwable>
- Type Parameters:
T- the type of the tested valueE- the type of the exceptions
public interface PredicateWithExceptions1<T,E extends Throwable>
A predicate that might throw exceptions.
-
Method Summary
-
Method Details
-
test
Applies the test.- Parameters:
t- the argument to the test- Returns:
- true if and only if the test is true for
t - Throws:
E- any exception thrown by the test
-