public static class ClassSet.ClassHeirarchyComparer extends Object implements Comparator<Class>
| Modifier and Type | Field and Description |
|---|---|
boolean |
inverse
true - в порядке от дочернего к родит; false - от родител. к дочернему
|
| Constructor and Description |
|---|
ClassHeirarchyComparer()
Конструктор, стравнивает классы в порядке от
|
ClassHeirarchyComparer(boolean inverse)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Class o1,
Class o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic boolean inverse
public ClassHeirarchyComparer(boolean inverse)
inverse - true - в порядке от дочернего к родит; false - от родител. к дочернемуpublic ClassHeirarchyComparer()
public int compare(Class o1, Class o2)
compare in interface Comparator<Class>Copyright © 2017. All rights reserved.