org.opengts.extra.tables
Class DeviceMessage.MessageComparator

java.lang.Object
  extended by org.opengts.extra.tables.DeviceMessage.MessageComparator
All Implemented Interfaces:
java.util.Comparator<DeviceMessage>
Enclosing class:
DeviceMessage

public static class DeviceMessage.MessageComparator
extends java.lang.Object
implements java.util.Comparator<DeviceMessage>

MessageComparator class for sorting DeviceMessage objects


Constructor Summary
DeviceMessage.MessageComparator()
           
 
Method Summary
 int compare(DeviceMessage dm1, DeviceMessage dm2)
           
 boolean equals(java.lang.Object other)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceMessage.MessageComparator

public DeviceMessage.MessageComparator()
Method Detail

compare

public int compare(DeviceMessage dm1,
                   DeviceMessage dm2)
Specified by:
compare in interface java.util.Comparator<DeviceMessage>

equals

public boolean equals(java.lang.Object other)
Specified by:
equals in interface java.util.Comparator<DeviceMessage>
Overrides:
equals in class java.lang.Object