Package net.sf.saxon.z
Class IntExceptPredicate
java.lang.Object
net.sf.saxon.z.IntExceptPredicate
- All Implemented Interfaces:
IntPredicate
An IntPredicate formed as the difference of two other predicates: it matches
an integer if the first operand matches the integer and the second does not
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the operandsboolean
test
(int value) Ask whether a given value matches this predicateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.IntPredicate
and, negate, or
-
Constructor Details
-
IntExceptPredicate
-
-
Method Details
-
test
public boolean test(int value) Ask whether a given value matches this predicate- Specified by:
test
in interfaceIntPredicate
- 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
-