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