-
-
Constructor Summary
Constructors
| Constructor and Description |
Accumulator(int startingValue) |
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
add(int value) |
int |
getValue() |
void |
increment() |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getValue
public int getValue()
-
increment
public void increment()
Copyright © 2003-2013 barbecue.sourceforge.net. All Rights Reserved.