Class IntMatchFilterElement
java.lang.Object
com.puppycrawl.tools.checkstyle.filters.IntMatchFilterElement
- All Implemented Interfaces:
IntFilterElement
This filter element is immutable and accepts a matching Integer.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
matchValue
The matching Integer.
-
-
Constructor Details
-
IntMatchFilterElement
IntMatchFilterElement(int matchValue) Constructs a MatchFilter for an int.- Parameters:
matchValue
- the matching int.
-
-
Method Details
-
accept
Description copied from interface:IntFilterElement
Determines whether or not a filtered Integer is accepted.- Specified by:
accept
in interfaceIntFilterElement
- Parameters:
intValue
- the Integer to filter.- Returns:
- true if the intValue is accepted.
-
toString
-
hashCode
-
equals
-