Class InheritanceComparator
java.lang.Object
org.apache.openjpa.meta.InheritanceComparator
- All Implemented Interfaces:
Serializable, Comparator
- Direct Known Subclasses:
MetaDataInheritanceComparator
Comparator that keeps classes in inheritance order.
- Author:
- Abe White
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
InheritanceComparator
public InheritanceComparator()
-
-
Method Details
-
setBase
Set the least-derived type possible; defaults tonull. -
getBase
-
toClass
-
compare
- Specified by:
comparein interfaceComparator
-