Module com.aoapps.lang
Package com.aoapps.lang.io.function
Interface IOPredicateE<T,Ex extends Throwable>
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
IOPredicate<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
IOException
and a checked exception.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault IOPredicateE
<T, Ex> and
(IOPredicateE<? super T, ? extends Ex> other) static <T,
Ex extends Throwable>
IOPredicateE<T, Ex> default IOPredicateE
<T, Ex> negate()
static <T,
Ex extends Throwable>
IOPredicateE<T, Ex> not
(IOPredicateE<? super T, ? extends Ex> target) default IOPredicateE
<T, Ex> or
(IOPredicateE<? super T, ? extends Ex> other) boolean
-
Method Details
-
test
- Throws:
IOException
Ex
-
and
- Throws:
IOException
Ex
-
negate
- Throws:
IOException
Ex
-
or
- Throws:
IOException
Ex
-
isEqual
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
-
not
static <T,Ex extends Throwable> IOPredicateE<T,Ex> not(IOPredicateE<? super T, ? extends Ex> target) throws IOException, Ex- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
-