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

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

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

Comparator class for sorting Preferences by their name.


Constructor Summary
TextUtils.PrefsByName()
           
 
Method Summary
 int compare(Pref p1, Pref p2)
          Method to sort Preferences by their 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.PrefsByName

public TextUtils.PrefsByName()
Method Detail

compare

public int compare(Pref p1,
                   Pref p2)
Method to sort Preferences by their name.

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