Package com.atlassian.bamboo.util
Interface DoubleThrowingPredicate<T,E extends Throwable,F extends Throwable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
apply(T input)
Returns the result of applying this predicate toinput
.
-
-
-
Method Detail
-
apply
boolean apply(@Nullable T input) throws E extends Throwable, F extends Throwable
Returns the result of applying this predicate toinput
. This method is generally expected, but not absolutely required, to have the following properties:- Its execution does not cause any observable side effects.
- The computation is consistent with equals; that is,
Objects.equal(java.lang.Object, java.lang.Object)
(a, b)
implies thatpredicate.apply(a) == predicate.apply(b))
.
- Throws:
NullPointerException
- ifinput
is null and this predicate does not accept null argumentsE extends Throwable
-
-