Package com.sun.codemodel.util
Class ClassNameComparator
java.lang.Object
com.sun.codemodel.util.ClassNameComparator
- All Implemented Interfaces:
Comparator<JClass>
Comparator object that sorts
JClass
es in the order
of their names.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
theInstance
-
-
Constructor Details
-
ClassNameComparator
private ClassNameComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<JClass>
-