Interface PBiPredicate<T,U>
-
- All Superinterfaces:
BiPredicate<T,U>
- All Known Implementing Classes:
Compare
,Contains
,Text
,Text.RegexPredicate
public interface PBiPredicate<T,U> extends BiPredicate<T,U>
Marker interface for predefinedBiPredicate
predicates that can be used inPredicate
}. Allows to set the name of the predicate that will be used for serialization. Restricts the use of randomBiPredicate
withP
.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
getPredicateName()
Gets predicate name that can be used for serialization.default PBiPredicate<T,U>
negate()
Returns a predicate that represents the logical negation of this predicate.-
Methods inherited from interface java.util.function.BiPredicate
and, or, test
-
-
-
-
Method Detail
-
getPredicateName
default String getPredicateName()
Gets predicate name that can be used for serialization.
-
negate
default PBiPredicate<T,U> negate()
Returns a predicate that represents the logical negation of this predicate.- Specified by:
negate
in interfaceBiPredicate<T,U>
-
-