com.caucho.amber.field
Class IdFieldCompare

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

public class IdFieldCompare
extends java.lang.Object
implements java.util.Comparator<IdField>

Sorts ID fields.


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

IdFieldCompare

public IdFieldCompare()
Method Detail

compare

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

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