com.metamatrix.toolbox.ui.widget.table
Class DirectoryEntryTableComparator

java.lang.Object
  extended by com.metamatrix.toolbox.ui.widget.table.DefaultTableComparator
      extended by com.metamatrix.toolbox.ui.widget.table.DirectoryEntryTableComparator
All Implemented Interfaces:
TableComparator

public class DirectoryEntryTableComparator
extends DefaultTableComparator
implements TableComparator


Constructor Summary
DirectoryEntryTableComparator()
           
 
Method Summary
 int compare(java.lang.Object firstValue, java.lang.Object secondValue, int columnIndex)
          compare the first and second values
static DefaultTableComparator getInstance()
           
 
Methods inherited from class com.metamatrix.toolbox.ui.widget.table.DefaultTableComparator
compare, ignoresCase, setIgnoresCase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryEntryTableComparator

public DirectoryEntryTableComparator()
Method Detail

getInstance

public static DefaultTableComparator getInstance()
Since:
Golden Gate

compare

public int compare(java.lang.Object firstValue,
                   java.lang.Object secondValue,
                   int columnIndex)
Description copied from interface: TableComparator
compare the first and second values

Specified by:
compare in interface TableComparator
Overrides:
compare in class DefaultTableComparator
columnIndex - the index of the table column being compared
Returns:
a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
Since:
Golden Gate


Copyright © 2009. All Rights Reserved.