jdeparser 1.0.0.Final-redhat-1

org.jboss.jdeparser.util
Class ClassNameComparator

java.lang.Object
  extended by org.jboss.jdeparser.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
 int compare(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>

jdeparser 1.0.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.