org.opengts.db.tables
Class Device.DeviceDescriptionComparator

java.lang.Object
  extended by org.opengts.db.tables.Device.DeviceDescriptionComparator
All Implemented Interfaces:
java.util.Comparator<Device>
Enclosing class:
Device

public static class Device.DeviceDescriptionComparator
extends java.lang.Object
implements java.util.Comparator<Device>

Comparator optimized for EventData device description


Constructor Summary
Device.DeviceDescriptionComparator()
           
Device.DeviceDescriptionComparator(boolean ascending)
           
 
Method Summary
 int compare(Device dv1, Device dv2)
           
 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

Device.DeviceDescriptionComparator

public Device.DeviceDescriptionComparator()

Device.DeviceDescriptionComparator

public Device.DeviceDescriptionComparator(boolean ascending)
Method Detail

compare

public int compare(Device dv1,
                   Device dv2)
Specified by:
compare in interface java.util.Comparator<Device>

equals

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