|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.loom.mapping.EventComparator
public class EventComparator
Compares Events to retrieve in its mapping processing order. This Comparator ensures that we test first the Events with best tokens fit, which means: "/foo/{param1}" gets processed before "/{param1}/{param2}" "/{param1}/edit" gets processed before "/{param1}"
Constructor Summary | |
---|---|
EventComparator()
|
Method Summary | |
---|---|
int |
compare(Event e1,
Event e2)
|
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 EventComparator()
Method Detail |
---|
public int compare(Event e1, Event e2)
compare
in interface java.util.Comparator<Event>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |