Constructor and Description |
---|
Counter() |
public void inc()
public void inc(long n)
n
.n
- the amount by which the counter will be increasedpublic void dec()
public void dec(long n)
n
.n
- the amount by which the counter will be decreasedCopyright © 2013. All rights reserved.