org.opengts.util
Class ListTools.NameComparator<T>
java.lang.Object
org.opengts.util.ListTools.StringComparator<T>
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListTools.NameComparator
public ListTools.NameComparator()
ListTools.NameComparator
public ListTools.NameComparator(boolean ascending)
ListTools.NameComparator
public ListTools.NameComparator(boolean ascending,
boolean ignoreCase)
getObjectString
public java.lang.String getObjectString(java.lang.Object obj)
- Overrides:
getObjectString
in class ListTools.StringComparator<T>