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>
EOF
public static final TokenEntry EOF
TokenEntry
public TokenEntry(String image,
String tokenSrcID,
int beginLine)
getEOF
public static TokenEntry getEOF()
clearImages
public static void clearImages()
getTokenSrcID
public String getTokenSrcID()
getBeginLine
public int getBeginLine()
getIdentifier
public int getIdentifier()
getIndex
public int getIndex()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setHashCode
public void setHashCode(int hashCode)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
compareTo
public int compareTo(TokenEntry other)
- Specified by:
compareTo
in interface Comparable<TokenEntry>
Copyright © 2009-2011 SonarSource. All Rights Reserved.