|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Random org.flexgen.util.ImprovedRandom
public class ImprovedRandom
Class implementing logic for an improved random number generator.
Constructor Summary | |
---|---|
ImprovedRandom()
|
Method Summary | |
---|---|
long |
nextLong(long n)
Get a random long between 0 (inclusive) and the specified value (exclusive). |
Methods inherited from class java.util.Random |
---|
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImprovedRandom()
Method Detail |
---|
public long nextLong(long n)
n
- The upper bound on the random number to be returned. Must be positive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009 - Jeffrey J. Weston <jjweston@gmail.com>
All rights reserved. Use is subject to license terms.