MappingComparepublic class MappingCompare extends Object implements TOPComparisonINTERNAL:
Use to Sort The mappings in Descriptor, Mappings are either DirectToField, which must be at the top
or other
Avoid using this class as sun.misc is not part of many VM's like Netscapes. |
Methods Summary |
---|
public int | compare(java.lang.Object arg1, java.lang.Object arg2)
int arg1Value = ((DatabaseMapping)arg1).getWeight().intValue();
int arg2Value = ((DatabaseMapping)arg2).getWeight().intValue();
return (arg1Value - arg2Value);
|
|