|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.reflect.MethodComparator
public final class MethodComparator
Compares Methods. To be used when sorting methods.
| Field Summary | |
|---|---|
static int |
METHOD_INFO
Compares method infos. |
static int |
NORMAL_METHOD
Compares normal method names. |
static int |
PREFIXED_METHOD
Compares prefixed method names. |
| Method Summary | |
|---|---|
int |
compare(Object o1,
Object o2)
Compares two objects. |
static Comparator |
getInstance(int type)
Returns the comparator instance. |
| 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 |
|---|
public static final int NORMAL_METHOD
public static final int PREFIXED_METHOD
public static final int METHOD_INFO
| Method Detail |
|---|
public static Comparator getInstance(int type)
type - the type of the method comparison
public int compare(Object o1,
Object o2)
compare in interface Comparatoro1 - o2 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||