|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.util.Counter.Count
Keeps track of an object and its count.
Method Summary | |
int |
compareTo(java.lang.Object o)
Compares us to another Count object. |
int |
getCount()
Returns the number of occurrences of the key. |
java.lang.Object |
getKey()
Returns the key for this counter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object getKey()
public int getCount()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the object to compare to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |