jdave.runner
Class MethodLineNumberComparator

java.lang.Object
  extended by jdave.runner.MethodLineNumberComparator
All Implemented Interfaces:
java.util.Comparator<java.lang.reflect.Method>

public class MethodLineNumberComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.reflect.Method>

Sorts methods according to the order in which they have been declared in the source code.

Since:
4.1.2008
Author:
Esko Luontola

Constructor Summary
MethodLineNumberComparator()
           
 
Method Summary
 int compare(java.lang.reflect.Method m1, java.lang.reflect.Method m2)
           
 
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

MethodLineNumberComparator

public MethodLineNumberComparator()
Method Detail

compare

public int compare(java.lang.reflect.Method m1,
                   java.lang.reflect.Method m2)
Specified by:
compare in interface java.util.Comparator<java.lang.reflect.Method>


Copyright © 2008. All Rights Reserved.