Package org.cyclos.impl.utils
Interface SerializablePredicate<T>
-
- All Superinterfaces:
Predicate<T>,Serializable
- 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
A predicate that is also serializable
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SerializablePredicate<T>or(SerializablePredicate<? super T> other)Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
-
-
-
Method Detail
-
or
default SerializablePredicate<T> or(SerializablePredicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.- Parameters:
other- a predicate that will be logically-ORed with this predicate- Returns:
- a composed predicate that represents the short-circuiting logical
OR of this predicate and the
otherpredicate - Throws:
NullPointerException- if other is null
-
-