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>
Nested Class Summary |
static class |
TokenEntry.State
Helper class to preserve and restore the current state
of the token entries. |
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>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2016 InfoEther. All Rights Reserved.