public interface ThrowingPredicate<T,E extends Throwable>
Modifier and Type | Method and Description |
---|---|
boolean |
apply(T input)
Returns the result of applying this predicate to
input . |
boolean apply(@Nullable T input) throws E extends Throwable
input
. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal(java.lang.Object, java.lang.Object)
(a, b)
implies that predicate.apply(a) == predicate.apply(b))
.
NullPointerException
- if input
is null and this predicate does not accept null argumentsE extends Throwable
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.