org.acm.seguin.pmd.cpd
Class MatchAlgorithm

java.lang.Object
  extended by org.acm.seguin.pmd.cpd.MatchAlgorithm

public class MatchAlgorithm
extends java.lang.Object


Constructor Summary
MatchAlgorithm(java.util.Map sourceCode, Tokens tokens)
           
 
Method Summary
 void add(TokenEntry token)
           
 void findMatches(int min)
           
 java.util.Iterator matches()
           
 void setListener(CPDListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchAlgorithm

public MatchAlgorithm(java.util.Map sourceCode,
                      Tokens tokens)
Method Detail

setListener

public void setListener(CPDListener listener)

add

public void add(TokenEntry token)

findMatches

public void findMatches(int min)

matches

public java.util.Iterator matches()