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

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

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

Comparator class for sorting Cells by their name (NOT considering numbers in the names).


Constructor Summary
TextUtils.CellsByName()
           
 
Method Summary
 int compare(Cell c1, Cell c2)
          Method to sort Cells 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.CellsByName

public TextUtils.CellsByName()
Method Detail

compare

public int compare(Cell c1,
                   Cell c2)
Method to sort Cells by their name.

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