Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
lowerBound
Lower bound of the range.
|
private java.lang.Integer |
upperBound
Upper bound of the range.
|
Constructor and Description |
---|
IntRangeFilter(int lowerBound,
int upperBound)
Constructs a
IntRangeFilter with a
lower bound and an upper bound for the range. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(int intValue)
Determines whether or not a filtered Integer is accepted.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
private final java.lang.Integer lowerBound
private final java.lang.Integer upperBound
IntRangeFilter(int lowerBound, int upperBound)
IntRangeFilter
with a
lower bound and an upper bound for the range.lowerBound
- the lower bound of the range.upperBound
- the upper bound of the range.public boolean accept(int intValue)
IntFilter
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object