@ProviderType public interface Counter extends Counting, Metric
Modifier and Type | Method and Description |
---|---|
void |
decrement()
Decrement the counter by one.
|
void |
decrement(long n)
Decrement the counter by
n . |
void |
increment()
Increment the counter by one.
|
void |
increment(long n)
Increment the counter by
n . |
void increment()
void decrement()
void increment(long n)
n
.n
- the amount by which the counter will be increasedvoid decrement(long n)
n
.n
- the amount by which the counter will be decreasedCopyright © 2010 - 2020 Adobe. All Rights Reserved