public class IntSetPredicate extends java.lang.Object implements IntPredicateProxy
| Modifier and Type | Field and Description |
|---|---|
static IntPredicateProxy |
ALWAYS_FALSE
Convenience predicate that never matches
|
static IntPredicateProxy |
ALWAYS_TRUE
Convenience predicate that always matches
|
| Constructor and Description |
|---|
IntSetPredicate(IntSet set) |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
getIntSet()
Get the underlying IntSet
|
boolean |
test(int value)
Ask whether a given value matches this predicate
|
java.lang.String |
toString()
Get string representation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitunionpublic static final IntPredicateProxy ALWAYS_TRUE
public static final IntPredicateProxy ALWAYS_FALSE
public IntSetPredicate(IntSet set)
public boolean test(int value)
test in interface java.util.function.IntPredicatetest in interface IntPredicateProxyvalue - the value to be testedpublic IntSet getIntSet()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.