|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.slamd.tools.makeldif.Counter
public class Counter
This class defines a numeric counter that can be used to retrieve sequential
values through subsequent calls to the getNext method.
| Constructor Summary | |
|---|---|
Counter()
Creates a new counter with a starting point of zero. |
|
Counter(int startingPoint)
Creates a new counter with the specified starting point. |
|
| Method Summary | |
|---|---|
int |
getNext()
Retrieves the next value to use for this counter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Counter()
public Counter(int startingPoint)
startingPoint - The first value that will be retrieved by this
counter. Additional values retrieved will increase
sequentially.| Method Detail |
|---|
public int getNext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||