moea.commons.comparator
Class ComparatorPareto

java.lang.Object
  extended by moea.commons.comparator.ComparatorPareto
All Implemented Interfaces:
java.util.Comparator<Entity>

public class ComparatorPareto
extends java.lang.Object
implements java.util.Comparator<Entity>


Field Summary
protected static ComparatorPareto comparator
           
 
Constructor Summary
ComparatorPareto()
           
 
Method Summary
 int compare(Entity left, Entity right)
           
static ComparatorPareto getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

comparator

protected static ComparatorPareto comparator
Constructor Detail

ComparatorPareto

public ComparatorPareto()
Method Detail

getInstance

public static ComparatorPareto getInstance()

compare

public int compare(Entity left,
                   Entity right)
Specified by:
compare in interface java.util.Comparator<Entity>