Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface PredicateWithExceptions<T>
- Type Parameters:
T- the type of the tested value
public interface PredicateWithExceptions<T>
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:
Throwable- any exception thrown by the test
-