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

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

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

Comparator class for sorting Networks by their name.


Constructor Summary
TextUtils.NetworksByName()
           
 
Method Summary
 int compare(Network n1, Network n2)
          Method to sort Networks 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.NetworksByName

public TextUtils.NetworksByName()
Method Detail

compare

public int compare(Network n1,
                   Network n2)
Method to sort Networks by their name.

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