Class IntMatchFilter
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.filters.IntMatchFilter
-
-
Field Summary
Fields Modifier and Type Field Description private intmatchValueThe matching Integer.
-
Constructor Summary
Constructors Constructor Description IntMatchFilter(int matchValue)Constructs a MatchFilter for an int.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(int intValue)Determines whether or not a filtered Integer is accepted.booleanequals(java.lang.Object object)inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
accept
public boolean accept(int intValue)
Description copied from interface:IntFilterDetermines whether or not a filtered Integer is accepted.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
-