public interface ICounter
Modifier and Type | Method and Description |
---|---|
long |
getMaxValue()
Returns the maximum value of the counter
|
long |
getMinValue()
Returns the minimum value of the counter
|
long |
getValue()
Returns the counter value
|
long |
next()
Increments the counter and returns the next value
|
void |
reset()
Resets the counter to the minimum value
|
long getMinValue()
long getMaxValue()
long getValue()
long next()
void reset()