class IntMatchFilterElement extends java.lang.Object implements IntFilterElement
| Modifier and Type | Field and Description |
|---|---|
private int |
matchValue
The matching Integer.
|
| Constructor and Description |
|---|
IntMatchFilterElement(int matchValue)
Constructs a MatchFilter for an int.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(int intValue)
Determines whether or not a filtered Integer is accepted.
|
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
java.lang.String |
toString() |
private final int matchValue
IntMatchFilterElement(int matchValue)
matchValue - the matching int.public boolean accept(int intValue)
IntFilterElementaccept in interface IntFilterElementintValue - the Integer to filter.public java.lang.String toString()
toString in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object object)
equals in class java.lang.ObjectCopyright © 2001-2022. All Rights Reserved.