com.sun.electric.database.text
Class TextUtils.ObjectsByToString

java.lang.Object
  extended by com.sun.electric.database.text.TextUtils.ObjectsByToString
All Implemented Interfaces:
java.util.Comparator<java.lang.Object>
Enclosing class:
TextUtils

public static class TextUtils.ObjectsByToString
extends java.lang.Object
implements java.util.Comparator<java.lang.Object>

Comparator class for sorting Objects by their string name.


Constructor Summary
TextUtils.ObjectsByToString()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Method to sort Objects by their string name.
 
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
 

Constructor Detail

TextUtils.ObjectsByToString

public TextUtils.ObjectsByToString()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Method to sort Objects by their string name.

Specified by:
compare in interface java.util.Comparator<java.lang.Object>