com.sun.codemodel.util
Class ClassNameComparator

java.lang.Object  extended by com.sun.codemodel.util.ClassNameComparator
All Implemented Interfaces:
Comparator<JClass>

public class ClassNameComparator
extends Object
implements Comparator<JClass>

Comparator object that sorts JClasses in the order of their names.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)


Field Summary
static Comparator<JClass>theInstance
           
 
Method Summary
 intcompare(JClass l, JClass r)
           
 
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
 

Field Detail

theInstance

public static final Comparator<JClass> theInstance
Method Detail

compare

public int compare(JClass l,                   JClass r)
Specified by:
compare in interface Comparator<JClass>


Copyright © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14