class IntRangeFilterElement extends java.lang.Object implements IntFilterElement
| 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 |
|---|
IntRangeFilterElement(int lowerBound,
int upperBound)
Constructs a
IntRangeFilterElement 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
IntRangeFilterElement(int lowerBound, int upperBound)
IntRangeFilterElement 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)
IntFilterElementaccept in interface IntFilterElementintValue - the Integer to filter.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2001-2022. All Rights Reserved.