|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.servlet.sip.appRouter.DFCRouterImpl.OriginatingPrecedenceComparator
public class OriginatingPrecedenceComparator
This class provides a comparator for comparing two originating region applications. Since comparators must provide a total ordering consistent with equals, this comparator provides more ordering than the partial ordering needed by DFC.
| Constructor Summary | |
|---|---|
OriginatingPrecedenceComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Application a1,
Application a2)
Compare two objects. |
| 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 OriginatingPrecedenceComparator()
| Method Detail |
|---|
public int compare(Application a1,
Application a2)
compare in interface java.util.Comparator<Application>java.lang.ClassCastException - if object is not an application object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||