Class MappingCompare
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.MappingCompare
-
- All Implemented Interfaces:
Serializable
,Comparator
public class MappingCompare extends Object implements Comparator, Serializable
INTERNAL: Use to Sort The mappings in ClassDescriptor, 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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingCompare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object arg1, Object arg2)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Object arg1, Object arg2)
- Specified by:
compare
in interfaceComparator
-
-