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.
@FunctionalInterface public interface IOPredicateE<T,Ex extends Throwable>
A predicate that is allowed to throwIOExceptionand a checked exception.- See Also:
Predicate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IOPredicateE<T,Ex>and(IOPredicateE<? super T,? extends Ex> other)static <T,Ex extends Throwable>
IOPredicateE<T,Ex>isEqual(Object targetRef)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)booleantest(T t)
-
-
-
Method Detail
-
test
boolean test(T t) throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
and
default IOPredicateE<T,Ex> and(IOPredicateE<? super T,? extends Ex> other) throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
negate
default IOPredicateE<T,Ex> negate() throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
or
default IOPredicateE<T,Ex> or(IOPredicateE<? super T,? extends Ex> other) throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
isEqual
static <T,Ex extends Throwable> IOPredicateE<T,Ex> isEqual(Object targetRef)
- 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 extends Throwable
- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Throws:
IOExceptionEx extends Throwable
-
-