Package net.sf.saxon.z
Class IntIntersectionPredicate
java.lang.Object
net.sf.saxon.z.IntIntersectionPredicate
- All Implemented Interfaces:
IntPredicate,IntPredicateProxy
An IntPredicate formed as the union of two other predicates: it matches
an integer if either of the operands matches the integer
-
Method Summary
Modifier and TypeMethodDescriptionGet the operandsstatic IntPredicateProxybooleantest(int value) Ask whether a given value matches this predicatetoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.function.IntPredicate
and, negate, orMethods inherited from interface net.sf.saxon.z.IntPredicateProxy
union
-
Method Details
-
makeIntersection
-
test
public boolean test(int value) Ask whether a given value matches this predicate- Specified by:
testin interfaceIntPredicate- Specified by:
testin interfaceIntPredicateProxy- Parameters:
value- the value to be tested- Returns:
- true if the value matches; false if it does not
-
getOperands
Get the operands- Returns:
- an array containing the two operands
-
toString
-