| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--portlets.compoze.groupware.util.LinearCongruentialSequence
This class generates congruential (non-repeating) sequence of long numbers.
| Constructor Summary | |
LinearCongruentialSequence()
Constructor.  | 
|
| Method Summary | |
 long | 
getNext()
Get the next value in the sequence.  | 
 long | 
getNext(long lLastValue)
Get the next value in the sequence for the specified last value.  | 
 void | 
setSeed(long lSeed)
Set the seed.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public LinearCongruentialSequence()
| Method Detail | 
public void setSeed(long lSeed)
lSeed - the seed to setpublic long getNext()
public long getNext(long lLastValue)
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||