org.codehaus.aspectwerkz.transform
Class BCELMethodComparator

java.lang.Object
  extended byorg.codehaus.aspectwerkz.transform.BCELMethodComparator
All Implemented Interfaces:
java.util.Comparator

public final class BCELMethodComparator
extends java.lang.Object
implements java.util.Comparator

Compares BCEL Methods.

Based on code by Bob Lee (crazybob@crazybob.org)

Author:
Jonas Bonér

Constructor Summary
BCELMethodComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two objects
static java.util.Comparator getInstance()
          Returns the comparator instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

BCELMethodComparator

public BCELMethodComparator()
Method Detail

getInstance

public static java.util.Comparator getInstance()
Returns the comparator instance.

Returns:
the instance

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two objects

Specified by:
compare in interface java.util.Comparator
Parameters:
o1 -
o2 -
Returns:
int


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.