com.caucho.amber.table
Class ColumnCompare

java.lang.Object
  extended by com.caucho.amber.table.ColumnCompare
All Implemented Interfaces:
java.util.Comparator<AmberColumn>

public class ColumnCompare
extends java.lang.Object
implements java.util.Comparator<AmberColumn>

Sorts columns fields.


Constructor Summary
ColumnCompare()
           
 
Method Summary
 int compare(AmberColumn a, AmberColumn b)
          Compares the fields.
 
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

ColumnCompare

public ColumnCompare()
Method Detail

compare

public int compare(AmberColumn a,
                   AmberColumn b)
Compares the fields.

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