Package net.sourceforge.pmd.cpd
Class TokenEntry
java.lang.Object
net.sourceforge.pmd.cpd.TokenEntry
- All Implemented Interfaces:
Comparable<TokenEntry>
-
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(TokenEntry other) booleanintThe column number where this token starts, inclusive.intThe line number where this token starts.intThe column number where this token ends, exclusive.intThe line number where this token ends.inthashCode()booleanisEof()toString()
-
Method Details
-
isEof
public boolean isEof() -
getBeginLine
public int getBeginLine()The line number where this token starts. -
getEndLine
public int getEndLine()The line number where this token ends. -
getBeginColumn
public int getBeginColumn()The column number where this token starts, inclusive. -
getEndColumn
public int getEndColumn()The column number where this token ends, exclusive. -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<TokenEntry>
-
getImage
-
toString
-