|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.waffle.action.intercept.MethodInterceptorComparator
public class MethodInterceptorComparator
Comparator implementation that is used by Waffle to ensure that MethodInterceptors are executed in the correct order.
Constructor Summary | |
---|---|
MethodInterceptorComparator()
|
Method Summary | |
---|---|
int |
compare(MethodInterceptor first,
MethodInterceptor second)
Will compare both MethodInterceptors being compared to determine the correct evaluation order. |
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 |
---|
public MethodInterceptorComparator()
Method Detail |
---|
public int compare(MethodInterceptor first, MethodInterceptor second)
compare
in interface java.util.Comparator<MethodInterceptor>
first
- the first MethodInterceptor to be comparedsecond
- the second MethodInterceptor to be compared
Sortable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |