net.sourceforge.pmd.cpd

Class TokenEntry

public class TokenEntry extends Object implements Comparable

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Field Summary
static TokenEntryEOF
Constructor Summary
TokenEntry(String image, String tokenSrcID, int beginLine)
Method Summary
static voidclearImages()
intcompareTo(Object o)
booleanequals(Object o)
intgetBeginLine()
static TokenEntrygetEOF()
intgetIdentifier()
intgetIndex()
StringgetTokenSrcID()
inthashCode()
voidsetHashCode(int hashCode)

Field Detail

EOF

public static final TokenEntry EOF

Constructor Detail

TokenEntry

public TokenEntry(String image, String tokenSrcID, int beginLine)

Method Detail

clearImages

public static void clearImages()

compareTo

public int compareTo(Object o)

equals

public boolean equals(Object o)

getBeginLine

public int getBeginLine()

getEOF

public static TokenEntry getEOF()

getIdentifier

public int getIdentifier()

getIndex

public int getIndex()

getTokenSrcID

public String getTokenSrcID()

hashCode

public int hashCode()

setHashCode

public void setHashCode(int hashCode)