public static interface Counters.Counter
Modifier and Type | Method and Description |
---|---|
void |
add(long val)
Adds the given number to this counter.
|
long |
get()
Gets the counter as a long.
|
java.math.BigInteger |
getBigInteger()
Gets the counter as a BigInteger.
|
java.lang.Long |
getLong()
Gets the counter as a Long.
|
void |
increment()
Adds one to this counter.
|
default void |
reset()
Resets this count to 0.
|
void add(long val)
val
- the value to add.long get()
java.math.BigInteger getBigInteger()
java.lang.Long getLong()
void increment()
default void reset()
Copyright © 2010 - 2023 Adobe. All Rights Reserved