public class Counter extends IntegerHolder
value
subtype
Constructor and Description |
---|
Counter()
Construct a new
Counter with an initial value of 0. |
Counter(int value)
Construct a new
Counter with a specified initial value. |
Modifier and Type | Method and Description |
---|---|
void |
decrement()
Decrement the counter by 1.
|
void |
increment()
Increment the counter by 1.
|
compareTo, getValue, setValue, toString
getSubtype, setSubtype
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses