net.sf.jmd.evaluation.impl
Class Comparator

java.lang.Object
  extended by net.sf.jmd.evaluation.impl.Comparator
All Implemented Interfaces:
IComparator

public final class Comparator
extends java.lang.Object
implements IComparator

Evaluates the checks and adds the resulting differences to the overall differences.


Constructor Summary
Comparator()
           
 
Method Summary
 void add(ICheck check)
           
 IReport evaluate()
          Evaluates all known Checks in the order they have been added.
 java.util.List<ICheck> getChecks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comparator

public Comparator()
Method Detail

add

public void add(ICheck check)
Specified by:
add in interface IComparator

getChecks

public java.util.List<ICheck> getChecks()
Specified by:
getChecks in interface IComparator

evaluate

public IReport evaluate()
Evaluates all known Checks in the order they have been added.

Specified by:
evaluate in interface IComparator


Copyright © 2007-2010. All Rights Reserved.