T
- The type of the evaluated subjectEX
- The throwable type that evaluate(Object)
may throw; use NoException
to indicate that
evaluate(Object)
does not declare any checked exceptionspublic interface PredicateWhichThrows<T,EX extends Throwable>
T
fulfils a particular condition.
When using this type in a variable, parameter or field declaration, never write
PredicateWhichThrows<subject-type, thrown-exception>
, but always
PredicateWhichThrows<? super subject-type, ? extends thrown-exception>
.
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(T subject) |
Copyright © 2018 Arno Unkrig. All rights reserved.