Uses of Interface
org.apache.commons.io.function.IOPredicate
Package
Description
Provides IO-only related functional interfaces for lambda expressions and method references.
-
Uses of IOPredicate in org.apache.commons.io.function
Modifier and TypeMethodDescriptionstatic <T> IOPredicate<T>
IOPredicate.alwaysFalse()
Always false.static <T> IOPredicate<T>
IOPredicate.alwaysTrue()
Always true.default IOPredicate<T>
IOPredicate.and
(IOPredicate<? super T> other) Creates a composed predicate that represents a short-circuiting logical AND of this predicate and another.static <T> IOPredicate<T>
Creates a predicate that tests if two arguments are equal usingObjects.equals(Object, Object)
.default IOPredicate<T>
IOPredicate.negate()
Creates a predicate that represents the logical negation of this predicate.default IOPredicate<T>
IOPredicate.or
(IOPredicate<? super T> other) Creates a composed predicate that represents a short-circuiting logical OR of this predicate and another.Modifier and TypeMethodDescriptiondefault boolean
IOStream.allMatch
(IOPredicate<? super T> predicate) LikeStream.allMatch(java.util.function.Predicate)
but throwsIOException
.default IOPredicate<T>
IOPredicate.and
(IOPredicate<? super T> other) Creates a composed predicate that represents a short-circuiting logical AND of this predicate and another.default boolean
IOStream.anyMatch
(IOPredicate<? super T> predicate) LikeStream.anyMatch(java.util.function.Predicate)
but throwsIOException
.IOStream.filter
(IOPredicate<? super T> predicate) default boolean
IOStream.noneMatch
(IOPredicate<? super T> predicate) default IOPredicate<T>
IOPredicate.or
(IOPredicate<? super T> other) Creates a composed predicate that represents a short-circuiting logical OR of this predicate and another.static <T> boolean
Uncheck.test
(IOPredicate<T> predicate, T t) Tests an IO predicate.