Package net.sourceforge.pmd.cpd
Class TokenEntry
- java.lang.Object
-
- net.sourceforge.pmd.cpd.TokenEntry
-
- All Implemented Interfaces:
Comparable<TokenEntry>
public class TokenEntry extends Object implements Comparable<TokenEntry>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TokenEntry other)
boolean
equals(Object o)
int
getBeginColumn()
The column number where this token starts, inclusive.int
getBeginLine()
The line number where this token starts.int
getEndColumn()
The column number where this token ends, exclusive.int
getEndLine()
The line number where this token ends.String
getImage(Tokens tokens)
int
hashCode()
boolean
isEof()
String
toString()
-
-
-
Method Detail
-
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.
-
compareTo
public int compareTo(TokenEntry other)
- Specified by:
compareTo
in interfaceComparable<TokenEntry>
-
-