|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.appdef.shared.AppdefCompatGrpComparator
public class AppdefCompatGrpComparator
A comparator that will order two AppdefEntityIDs according to the position of their instanceId in an int array. This order specification deliberately omits appdef type because this comparator is only intended for use within a compatible group where type is consistent.
Constructor Summary | |
---|---|
AppdefCompatGrpComparator(int[] orderSpec)
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare two AppdefEntityIDs and indicate their order according the the order specification array passed into the constructor. |
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 AppdefCompatGrpComparator(int[] orderSpec)
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
instance
- of AppdefEntityID number 1instance
- of AppdefEntityID number 2
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |