com.ebay.erl.mobius.util
Class ClassComparator
java.lang.Object
com.ebay.erl.mobius.util.ClassComparator
- All Implemented Interfaces:
- java.util.Comparator<java.lang.Class<?>>
public class ClassComparator
- extends java.lang.Object
- implements java.util.Comparator<java.lang.Class<?>>
Comparator for Class
, put sub-classes
in front of super-classes.
This product is licensed under the Apache License, Version 2.0,
available at http://www.apache.org/licenses/LICENSE-2.0.
This product contains portions derived from Apache hadoop which is
licensed under the Apache License, Version 2.0, available at
http://hadoop.apache.org.
© 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan
Method Summary |
int |
compare(java.lang.Class<?> c1,
java.lang.Class<?> c2)
|
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 |
ClassComparator
public ClassComparator()
compare
public int compare(java.lang.Class<?> c1,
java.lang.Class<?> c2)
- Specified by:
compare
in interface java.util.Comparator<java.lang.Class<?>>