|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.scripting.ldap.SequentialValueCounter
This class defines a numeric counter that can be used to retrieve sequential
values through subsequent calls to the getNext method.
| Constructor Summary | |
SequentialValueCounter()
Creates a new counter with a starting point of zero. |
|
SequentialValueCounter(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 SequentialValueCounter()
public SequentialValueCounter(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 | |||||||||