Module com.aoapps.servlet.util
Package com.aoapps.servlet.jsp.function
Interface JspPredicateE<T,Ex extends Throwable>
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
JspPredicate<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A predicate that is allowed to throw
JspException
, IOException
, and a checked exception.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault JspPredicateE
<T, Ex> and
(JspPredicateE<? super T, ? extends Ex> other) static <T,
Ex extends Throwable>
JspPredicateE<T, Ex> default JspPredicateE
<T, Ex> negate()
static <T,
Ex extends Throwable>
JspPredicateE<T, Ex> not
(JspPredicateE<? super T, ? extends Ex> target) default JspPredicateE
<T, Ex> or
(JspPredicateE<? super T, ? extends Ex> other) boolean
-
Method Details
-
test
- Throws:
JspException
IOException
Ex
-
and
default JspPredicateE<T,Ex> and(JspPredicateE<? super T, ? extends Ex> other) throws JspException, IOException, Ex- Throws:
JspException
IOException
Ex
-
negate
- Throws:
JspException
IOException
Ex
-
or
default JspPredicateE<T,Ex> or(JspPredicateE<? super T, ? extends Ex> other) throws JspException, IOException, Ex- Throws:
JspException
IOException
Ex
-
isEqual
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
-
not
static <T,Ex extends Throwable> JspPredicateE<T,Ex> not(JspPredicateE<? super T, ? extends Ex> target) throws JspException, IOException, Ex- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
JspException
IOException
Ex
-