net.esper.adapter
Class SendableEventComparator
java.lang.Object
net.esper.adapter.SendableEventComparator
- All Implemented Interfaces:
- Comparator<SendableEvent>
public class SendableEventComparator
- extends Object
- implements Comparator<SendableEvent>
A comparator that orders SendableEvents first on sendTime, and
then on schedule slot.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SendableEventComparator
public SendableEventComparator()
compare
public int compare(SendableEvent one,
SendableEvent two)
- Specified by:
compare
in interface Comparator<SendableEvent>