net.sourceforge.pmd.cpd
Class Mark

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

public class Mark
extends Object
implements Comparable<Mark>


Constructor Summary
Mark(TokenEntry token)
           
 
Method Summary
 int compareTo(Mark other)
           
 boolean equals(Object obj)
           
 int getBeginLine()
           
 int getEndLine()
           
 String getFilename()
           
 int getLineCount()
           
 String getSourceCodeSlice()
           
 TokenEntry getToken()
           
 int hashCode()
           
 void setLineCount(int lineCount)
           
 void setSoureCodeSlice(String code)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mark

public Mark(TokenEntry token)
Method Detail

getToken

public TokenEntry getToken()

getFilename

public String getFilename()

getBeginLine

public int getBeginLine()

getEndLine

public int getEndLine()

getLineCount

public int getLineCount()

setLineCount

public void setLineCount(int lineCount)

getSourceCodeSlice

public String getSourceCodeSlice()

setSoureCodeSlice

public void setSoureCodeSlice(String code)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(Mark other)
Specified by:
compareTo in interface Comparable<Mark>


Copyright © 2002-2015 InfoEther. All Rights Reserved.