|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Random
utils.VSRandom
public final class VSRandom
The class VSRandom. Some customization of the standard Random class of Java.
| Constructor Summary | |
|---|---|
VSRandom(long seedAdd)
Instantiates a new VSrandom object. |
|
| Method Summary | |
|---|---|
int |
nextInt()
|
long |
nextLong(long mod)
Next long. |
| Methods inherited from class java.util.Random |
|---|
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextLong, setSeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VSRandom(long seedAdd)
seedAdd - the seed to add.| Method Detail |
|---|
public int nextInt()
nextInt in class java.util.Randompublic long nextLong(long mod)
mod - the mod
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||