Package com.gengoai.function
Interface SerializablePredicate<T>
-
- Type Parameters:
T
- Functional parameter
- All Superinterfaces:
Predicate<T>
,Serializable
- All Known Subinterfaces:
CharMatcher
,StringMatcher
- 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 SerializablePredicate<T> extends Predicate<T>, Serializable
Version of Predicate that is serializable
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default SerializablePredicate<T>
and(SerializablePredicate<? super T> other)
default SerializablePredicate<T>
and(Predicate<? super T> other)
static <T> SerializablePredicate<T>
instanceOf(Class<?> clazz)
default SerializablePredicate<T>
negate()
default SerializablePredicate<T>
or(SerializablePredicate<? super T> other)
default SerializablePredicate<T>
or(Predicate<? super T> other)
-
-
-
Method Detail
-
negate
default SerializablePredicate<T> negate()
-
or
default SerializablePredicate<T> or(Predicate<? super T> other)
-
and
default SerializablePredicate<T> and(Predicate<? super T> other)
-
or
default SerializablePredicate<T> or(SerializablePredicate<? super T> other)
-
and
default SerializablePredicate<T> and(SerializablePredicate<? super T> other)
-
instanceOf
static <T> SerializablePredicate<T> instanceOf(Class<?> clazz)
-
-