net.sourceforge.pmd.cpd
Class TokenEntry

java.lang.Object
  extended by net.sourceforge.pmd.cpd.TokenEntry
All Implemented Interfaces:
java.lang.Comparable<TokenEntry>

public class TokenEntry
extends java.lang.Object
implements java.lang.Comparable<TokenEntry>


Field Summary
static TokenEntry EOF
           
 
Constructor Summary
TokenEntry(java.lang.String image, java.lang.String tokenSrcID, int beginLine)
           
 
Method Summary
static void clearImages()
           
 int compareTo(TokenEntry other)
           
 boolean equals(java.lang.Object o)
           
 int getBeginLine()
           
static TokenEntry getEOF()
           
 int getIdentifier()
           
 int getIndex()
           
 java.lang.String getTokenSrcID()
           
 int hashCode()
           
 void setHashCode(int hashCode)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

public static final TokenEntry EOF
Constructor Detail

TokenEntry

public TokenEntry(java.lang.String image,
                  java.lang.String tokenSrcID,
                  int beginLine)
Method Detail

getEOF

public static TokenEntry getEOF()

clearImages

public static void clearImages()

getTokenSrcID

public java.lang.String getTokenSrcID()

getBeginLine

public int getBeginLine()

getIdentifier

public int getIdentifier()

getIndex

public int getIndex()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setHashCode

public void setHashCode(int hashCode)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(TokenEntry other)
Specified by:
compareTo in interface java.lang.Comparable<TokenEntry>


Copyright © 2002-2011 InfoEther. All Rights Reserved.