com.puppycrawl.tools.checkstyle.filters

Class IntMatchFilter

class IntMatchFilter extends Object implements IntFilter

This filter accepts a matching Integer.

Author: Rick Giles

Constructor Summary
IntMatchFilter(int aMatchValue)
Constructs a MatchFilter for an int.
Method Summary
booleanaccept(Integer aInt)
booleanequals(Object aObject)
inthashCode()
StringtoString()

Constructor Detail

IntMatchFilter

public IntMatchFilter(int aMatchValue)
Constructs a MatchFilter for an int.

Parameters: aMatchValue the matching int.

Method Detail

accept

public boolean accept(Integer aInt)
{@inheritDoc }

equals

public boolean equals(Object aObject)
{@inheritDoc }

hashCode

public int hashCode()
{@inheritDoc }

toString

public String toString()
{@inheritDoc }