Module com.aoapps.lang
Package com.aoapps.lang.function
Interface PredicateE<T,Ex extends Throwable>
-
- Type Parameters:
Ex- An arbitrary exception type that may be thrown
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PredicateE<T,Ex extends Throwable>
A predicate that is allowed to throw a checked exception.- See Also:
Predicate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PredicateE<T,Ex>and(PredicateE<? super T,? extends Ex> other)static <T,Ex extends Throwable>
PredicateE<T,Ex>isEqual(Object targetRef)default PredicateE<T,Ex>negate()static <T,Ex extends Throwable>
PredicateE<T,Ex>not(PredicateE<? super T,? extends Ex> target)default PredicateE<T,Ex>or(PredicateE<? super T,? extends Ex> other)booleantest(T t)
-
-
-
Method Detail
-
and
default PredicateE<T,Ex> and(PredicateE<? super T,? extends Ex> other) throws Ex extends Throwable
-
or
default PredicateE<T,Ex> or(PredicateE<? super T,? extends Ex> other) throws Ex extends Throwable
-
isEqual
static <T,Ex extends Throwable> PredicateE<T,Ex> isEqual(Object targetRef)
- Type Parameters:
Ex- An arbitrary exception type that may be thrown
-
not
static <T,Ex extends Throwable> PredicateE<T,Ex> not(PredicateE<? super T,? extends Ex> target) throws Ex extends Throwable
- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Throws:
Ex extends Throwable
-
-