public class IntValuePredicate extends java.lang.Object implements IntPredicate
Constructor and Description |
---|
IntValuePredicate(int target) |
Modifier and Type | Method and Description |
---|---|
int |
getTarget()
Get the value matched by this predicate
|
boolean |
matches(int value)
Ask whether a given value matches this predicate
|
public boolean matches(int value)
matches
in interface IntPredicate
value
- the value to be testedpublic int getTarget()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.