-
- All Superinterfaces:
IOPredicateE<T,RuntimeException>
- 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 IOPredicate<T> extends IOPredicateE<T,RuntimeException>
A predicate that is allowed to throwIOException.- See Also:
Predicate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T> IOPredicate<T>isEqual(Object targetRef)static <T> IOPredicate<T>not(IOPredicate<? super T> target)booleantest(T t)-
Methods inherited from interface com.aoapps.lang.io.function.IOPredicateE
and, negate, or
-
-
-
-
Method Detail
-
test
boolean test(T t) throws IOException
- Specified by:
testin interfaceIOPredicateE<T,RuntimeException>- Throws:
IOException
-
isEqual
static <T> IOPredicate<T> isEqual(Object targetRef)
-
not
static <T> IOPredicate<T> not(IOPredicate<? super T> target) throws IOException
- Throws:
IOException
-
-