Package net.sf.saxon.z
Class IntValuePredicate
- java.lang.Object
- 
- net.sf.saxon.z.IntValuePredicate
 
- 
- All Implemented Interfaces:
- java.util.function.IntPredicate
 
 public class IntValuePredicate extends java.lang.Object implements java.util.function.IntPredicateAn IntPredicate that matches a single specific integer
- 
- 
Constructor SummaryConstructors Constructor Description IntValuePredicate(int target)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTarget()Get the value matched by this predicatebooleantest(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
 
 - 
getTargetpublic int getTarget() Get the value matched by this predicate- Returns:
- the value that this predicate matches
 
 
- 
 
-