|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.stat.LongCounter
Long counter.
Field Summary | |
protected long |
value
Counter value. |
Constructor Summary | |
LongCounter()
Constructor. |
Method Summary | |
void |
dec()
Decrements the counter by 1. |
void |
dec(long amount)
Decrements the counter by the given value. |
void |
inc()
Increments the counter by 1. |
void |
inc(long amount)
Increments the counter by the given amount. |
long |
longValue()
Gets the current value of the counter. |
void |
reset()
Resets the counter. |
java.lang.String |
toString()
Returns a string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected long value
Constructor Detail |
public LongCounter()
Method Detail |
public void dec()
dec
in interface Counter
public void dec(long amount)
amount
- decrementpublic void inc()
inc
in interface Counter
public void inc(long amount)
amount
- incrementpublic void reset()
reset
in interface Counter
public long longValue()
longValue
in interface Counter
public java.lang.String toString()
toString
in class java.lang.Object
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |