T - the type of the input to the predicate@FunctionalInterface public interface UncheckedPredicate<T> extends java.util.function.Predicate<T>
RepositoryException cannot be used as lambdas without "unchecking" those exceptions.| Modifier and Type | Method and Description |
|---|---|
default boolean |
test(T elem) |
boolean |
testThrows(T elem)
The same semantic as
test(Object), but allowed to throw a RepositoryException |
static <T> UncheckedPredicate<T> |
uncheck(UncheckedPredicate<T> p) |
and, isEqual, negate, ordefault boolean test(T elem)
test in interface java.util.function.Predicate<T>boolean testThrows(T elem) throws javax.jcr.RepositoryException
test(Object), but allowed to throw a RepositoryExceptionelem - the input argumentjavax.jcr.RepositoryException - a repository-related exceptionstatic <T> UncheckedPredicate<T> uncheck(UncheckedPredicate<T> p)
T - the type of the input to the predicatep - a lambda expressionCopyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.