|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsmpp.util.Sequence
public class Sequence
Sequence number that able to rolling.
| Field Summary | |
|---|---|
private int |
value
|
| Constructor Summary | |
|---|---|
Sequence(int start)
|
|
| Method Summary | |
|---|---|
int |
currentValue()
|
int |
nextValue()
Return the next value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int value
| Constructor Detail |
|---|
public Sequence(int start)
start - is the start/init value of the sequence.| Method Detail |
|---|
public int nextValue()
public int currentValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||