com.sun.codemodel.util
Class ClassNameComparator
java.lang.Object
com.sun.codemodel.util.ClassNameComparator
- All Implemented Interfaces:
- Comparator<JClass>
public class ClassNameComparator
- extends Object
- implements Comparator<JClass>
Comparator object that sorts JClass
es in the order
of their names.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theInstance
public static final Comparator<JClass> theInstance
compare
public int compare(JClass l,
JClass r)
- Specified by:
compare
in interface Comparator<JClass>
Copyright © 2005-2013 Oracle. All Rights Reserved.