Package net.sourceforge.pmd.cpd
Class Tokens
- java.lang.Object
-
- net.sourceforge.pmd.cpd.Tokens
-
public class Tokens extends Object
-
-
Constructor Summary
Constructors Constructor Description Tokens()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(TokenEntry tokenEntry)TokenEntrygetEndToken(TokenEntry mark, Match match)intgetLineCount(TokenEntry mark, Match match)List<TokenEntry>getTokens()Iterator<TokenEntry>iterator()intsize()
-
-
-
Method Detail
-
add
public void add(TokenEntry tokenEntry)
-
iterator
public Iterator<TokenEntry> iterator()
-
size
public int size()
-
getEndToken
public TokenEntry getEndToken(TokenEntry mark, Match match)
-
getLineCount
public int getLineCount(TokenEntry mark, Match match)
-
getTokens
public List<TokenEntry> getTokens()
-
-