public class MetaDataInheritanceComparator extends InheritanceComparator
Constructor and Description |
---|
MetaDataInheritanceComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
protected Class |
toClass(Object elem)
Subclasses can override this method to extract the class to compare
on from the elements of the collection.
|
getBase, setBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
protected Class toClass(Object elem)
InheritanceComparator
toClass
in class InheritanceComparator
public int compare(Object o1, Object o2)
compare
in interface Comparator
compare
in class InheritanceComparator
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.