|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.SimpleCounter
public class SimpleCounter
Simple counter implementation
| Constructor Summary | |
|---|---|
SimpleCounter()
Public constructor that initializes count at 0. |
|
SimpleCounter(long count)
Public constructor that initializes count at an specified value |
|
| Method Summary | |
|---|---|
long |
getCount()
Get the current count |
long |
next()
Increments the count and returns the next value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleCounter()
public SimpleCounter(long count)
| Method Detail |
|---|
public long next()
public long getCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||