|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.lib.LocalSeqNumber
public class LocalSeqNumber
Class Description : Class representing the local sequence number. A modified version of the code obtained from the Open Group Research Institute.
Constructor Summary | |
---|---|
LocalSeqNumber()
Class constructor |
|
LocalSeqNumber(int start)
Class constructor |
|
LocalSeqNumber(java.lang.Integer start)
Class constructor |
Method Summary | |
---|---|
int |
current()
Return current sequence number |
int |
next()
Returns next sequence number |
void |
randInit()
Intializes the sequence number |
int |
step()
Increments the sequence number and returns the new value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalSeqNumber()
public LocalSeqNumber(int start)
start
- intpublic LocalSeqNumber(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 |