Package net.sourceforge.pmd.cpd
Class Mark
java.lang.Object
net.sourceforge.pmd.cpd.Mark
- All Implemented Interfaces:
Comparable<Mark>
A range of tokens in a source file, identified by a start and end
token (both included in the range). The start and end token may be
the same token.
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanintintReturn the location of this source range in the source file.inthashCode()
-
Method Details
-
getLocation
Return the location of this source range in the source file. -
getBeginTokenIndex
public int getBeginTokenIndex() -
getEndTokenIndex
public int getEndTokenIndex() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<Mark>
-