com.espertech.esperio
Class SendableEventComparator

java.lang.Object
  extended by com.espertech.esperio.SendableEventComparator
All Implemented Interfaces:
java.util.Comparator<SendableEvent>

public class SendableEventComparator
extends java.lang.Object
implements java.util.Comparator<SendableEvent>

A comparator that orders SendableEvents first on sendTime, and then on schedule slot.


Constructor Summary
SendableEventComparator()
           
 
Method Summary
 int compare(SendableEvent one, SendableEvent two)
           
 
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

SendableEventComparator

public SendableEventComparator()
Method Detail

compare

public int compare(SendableEvent one,
                   SendableEvent two)
Specified by:
compare in interface java.util.Comparator<SendableEvent>

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com