public static class DependencyCollector.DependencyComparator extends Object implements Comparator<Class<?>>
| Constructor and Description |
|---|
DependencyCollector.DependencyComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Class<?> a,
Class<?> b)
/**
-1: if "b" or any child type of "b" (at any level) extends from "a" or any of "a"'s child type
1: the other way around 0: if none of the cases |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic DependencyCollector.DependencyComparator()
public int compare(Class<?> a, Class<?> b)
compare in interface Comparator<Class<?>>a - b - if - there is a situation where the method cannot decide weather it should return -1 or 1Copyright © 2015. All Rights Reserved.