jdave.runner
Class ClassLineNumberComparator

java.lang.Object
  extended by jdave.runner.ClassLineNumberComparator
All Implemented Interfaces:
java.util.Comparator<java.lang.Class<?>>

public class ClassLineNumberComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.Class<?>>

Sorts (inner) classes according to the order in which they have been declared in the source code.

Since:
4.1.2008
Author:
Esko Luontola

Constructor Summary
ClassLineNumberComparator()
           
 
Method Summary
 int compare(java.lang.Class<?> c1, java.lang.Class<?> c2)
           
 
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
 

Constructor Detail

ClassLineNumberComparator

public ClassLineNumberComparator()
Method Detail

compare

public int compare(java.lang.Class<?> c1,
                   java.lang.Class<?> c2)
Specified by:
compare in interface java.util.Comparator<java.lang.Class<?>>


Copyright © 2008. All Rights Reserved.