Modifier and Type | Field and Description |
---|---|
private int |
matchValue
The matching Integer.
|
Constructor and Description |
---|
IntMatchFilter(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() |
IntMatchFilter(int matchValue)
matchValue
- the matching int.public boolean accept(int intValue)
IntFilter
public java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object object)
equals
in class java.lang.Object