com.mizar.trinidad.components.themes
Class MapDisplayStyleComparator

java.lang.Object
  extended by com.mizar.trinidad.components.themes.MapDisplayStyleComparator
All Implemented Interfaces:
java.util.Comparator

public class MapDisplayStyleComparator
extends java.lang.Object
implements java.util.Comparator


Field Summary
static int COMPAREBY_LABEL
           
static int COMPAREBY_ORDER
           
static int COMPAREBY_SCALE
           
 
Constructor Summary
MapDisplayStyleComparator()
           
MapDisplayStyleComparator(int compareBy)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 int compareTo(MapDisplayStyle mds1, MapDisplayStyle mds2)
           
 
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
 

Field Detail

COMPAREBY_ORDER

public static final int COMPAREBY_ORDER
See Also:
Constant Field Values

COMPAREBY_LABEL

public static final int COMPAREBY_LABEL
See Also:
Constant Field Values

COMPAREBY_SCALE

public static final int COMPAREBY_SCALE
See Also:
Constant Field Values
Constructor Detail

MapDisplayStyleComparator

public MapDisplayStyleComparator()

MapDisplayStyleComparator

public MapDisplayStyleComparator(int compareBy)
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

compareTo

public int compareTo(MapDisplayStyle mds1,
                     MapDisplayStyle mds2)