org.mule.devkit.model.code.util
Class ClassNameComparator

java.lang.Object
  extended by org.mule.devkit.model.code.util.ClassNameComparator
All Implemented Interfaces:
Comparator<TypeReference>

public class ClassNameComparator
extends Object
implements Comparator<TypeReference>

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

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

Field Summary
static Comparator<TypeReference> theInstance
           
 
Method Summary
 int compare(TypeReference l, TypeReference 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<TypeReference> theInstance
Method Detail

compare

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


Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.