public final class ClassNameComparator extends Object implements Comparator<AbstractJClass>
AbstractJClasses in the order of their
names.| Modifier and Type | Method and Description |
|---|---|
int |
compare(AbstractJClass left,
AbstractJClass right)
Compare two JTypes by FQCN, giving sorting precedence to types that belong
to packages java and javax over all others.
|
static ClassNameComparator |
getInstance() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals@Nonnull public static ClassNameComparator getInstance()
public int compare(@Nonnull AbstractJClass left, @Nonnull AbstractJClass right)
compare in interface Comparator<AbstractJClass>Copyright © 2013–2015 Philip Helger. All rights reserved.