|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.lib.GlobalSeqNumber
public class GlobalSeqNumber
Class Description : Global sequence number. A modified version of the code obtained from the Open Group Research Institute.
Constructor Summary | |
---|---|
GlobalSeqNumber(int start)
Class constructor |
|
GlobalSeqNumber(java.lang.Integer start)
Class constructor |
Method Summary | |
---|---|
int |
current()
Returns the current value |
int |
next()
Returns the next value |
void |
randInit()
Sets the random value |
int |
step()
Steps to the next value and returns the new value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalSeqNumber(int start)
start
- intpublic GlobalSeqNumber(java.lang.Integer start)
start
- IntegerMethod Detail |
---|
public void randInit()
randInit
in interface SeqNumber
public int current()
current
in interface SeqNumber
public int next()
next
in interface SeqNumber
public int step()
step
in interface SeqNumber
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |