Package net.sf.saxon.z
Class IntExceptPredicate
- java.lang.Object
- 
- net.sf.saxon.z.IntExceptPredicate
 
- 
- All Implemented Interfaces:
- java.util.function.IntPredicate
 
 public class IntExceptPredicate extends java.lang.Object implements java.util.function.IntPredicateAn 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 SummaryConstructors Constructor Description IntExceptPredicate(java.util.function.IntPredicate p1, java.util.function.IntPredicate p2)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.IntPredicate[]getOperands()Get the operandsbooleantest(int value)Ask whether a given value matches this predicate
 
- 
- 
- 
Method Detail- 
testpublic boolean test(int value) Ask whether a given value matches this predicate- Specified by:
- testin interface- java.util.function.IntPredicate
- Parameters:
- value- the value to be tested
- Returns:
- true if the value matches; false if it does not
 
 - 
getOperandspublic java.util.function.IntPredicate[] getOperands() Get the operands- Returns:
- an array containing the two operands
 
 
- 
 
-