org.opengts.util
Class ListTools.NameComparator<T>

java.lang.Object
  extended by org.opengts.util.ListTools.StringComparator<T>
      extended by org.opengts.util.ListTools.NameComparator<T>
All Implemented Interfaces:
java.util.Comparator<T>
Enclosing class:
ListTools

public static class ListTools.NameComparator<T>
extends ListTools.StringComparator<T>

NameComparator class for sorting objects based on their 'getName()' value


Constructor Summary
ListTools.NameComparator()
           
ListTools.NameComparator(boolean ascending)
           
ListTools.NameComparator(boolean ascending, boolean ignoreCase)
           
 
Method Summary
 java.lang.String getObjectString(java.lang.Object obj)
           
 
Methods inherited from class org.opengts.util.ListTools.StringComparator
compare, equals, getDefaultString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListTools.NameComparator

public ListTools.NameComparator()

ListTools.NameComparator

public ListTools.NameComparator(boolean ascending)

ListTools.NameComparator

public ListTools.NameComparator(boolean ascending,
                                boolean ignoreCase)
Method Detail

getObjectString

public java.lang.String getObjectString(java.lang.Object obj)
Overrides:
getObjectString in class ListTools.StringComparator<T>