|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPRandom
Wraps and stores a random variable object.
Constructor Summary | |
XPRandom()
Creates a new random object. |
|
XPRandom(int seed)
Creates a new random object with a seed. |
Method Summary | |
java.lang.String |
NextHex()
Returns the next hex string. |
int |
NextInt()
Returns the next random integer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPRandom()
public XPRandom(int seed)
seed
- the seed value you wish to use.Method Detail |
public int NextInt()
public java.lang.String NextHex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |