Class IntRangeFilter
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.filters.IntRangeFilter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Integer
lowerBound
Lower bound of the range.private java.lang.Integer
upperBound
Upper bound of the range.
-
Constructor Summary
Constructors Constructor Description IntRangeFilter(int lowerBound, int upperBound)
Constructs aIntRangeFilter
with a lower bound and an upper bound for the range.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(int intValue)
Determines whether or not a filtered Integer is accepted.boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Method Detail
-
accept
public boolean accept(int intValue)
Description copied from interface:IntFilter
Determines whether or not a filtered Integer is accepted.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-