|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.Rule.RuleComp
A comparator for rules, based on their ID.
| Constructor Summary | |
Rule.RuleComp()
|
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two rules according to their ID. |
boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Determines if two rules have the same Rule ID. |
| 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 Rule.RuleComp()
| Method Detail |
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - the first Rule to compareo2 - the second Rule to compare
public boolean equals(java.lang.Object o1,
java.lang.Object o2)
o1 - first Rule to compareo2 - second Rule to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||