com.caucho.amber.field
Class AmberFieldCompare

java.lang.Object
  extended by com.caucho.amber.field.AmberFieldCompare
All Implemented Interfaces:
java.util.Comparator<AmberField>

public class AmberFieldCompare
extends java.lang.Object
implements java.util.Comparator<AmberField>

Sorts ID fields.


Constructor Summary
AmberFieldCompare()
           
 
Method Summary
 int compare(AmberField a, AmberField 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

AmberFieldCompare

public AmberFieldCompare()
Method Detail

compare

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

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