|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.MethodComparator
Compares Methods. To be used when sorting methods. Based on code by Bob Lee (crazybob@crazybob.org)
| Field Summary | |
static int |
METHOD_META_DATA
Compares method meta-data. |
static int |
NORMAL_METHOD
Compares normal method names. |
static int |
PREFIXED_METHOD
Compares prefixed method names. |
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two objects. |
static java.util.Comparator |
getInstance(int type)
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 |
| Field Detail |
public static final int NORMAL_METHOD
public static final int PREFIXED_METHOD
public static final int METHOD_META_DATA
| Method Detail |
public static java.util.Comparator getInstance(int type)
type - the type of the method comparison
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - o2 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||