choco.cp.solver.constraints.global.scheduling.cumulative
Class CumulSweep.EventComparator

java.lang.Object
  extended by choco.cp.solver.constraints.global.scheduling.cumulative.CumulSweep.EventComparator
All Implemented Interfaces:
Comparator<CumulSweep.Event>
Enclosing class:
CumulSweep

protected static class CumulSweep.EventComparator
extends Object
implements Comparator<CumulSweep.Event>


Constructor Summary
protected CumulSweep.EventComparator()
           
 
Method Summary
 int compare(CumulSweep.Event o1, CumulSweep.Event o2)
           
 
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
 

Constructor Detail

CumulSweep.EventComparator

protected CumulSweep.EventComparator()
Method Detail

compare

public int compare(CumulSweep.Event o1,
                   CumulSweep.Event o2)
Specified by:
compare in interface Comparator<CumulSweep.Event>
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2012. All Rights Reserved.