|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Random java.rmi.server.ObjID.InsecureRandom
Field Summary | |
private long |
nextNum
|
private static long |
serialVersionUID
unnecessary serialVersionUID to keep watchdog tools happy |
Fields inherited from class java.util.Random |
|
Constructor Summary | |
private |
ObjID.InsecureRandom()
|
Method Summary | |
long |
nextLong()
Returns the next pseudorandom, uniformly distributed long
value from this random number generator's sequence. |
Methods inherited from class java.util.Random |
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, setSeed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private long nextNum
Constructor Detail |
private ObjID.InsecureRandom()
Method Detail |
public long nextLong()
Random
long
value from this random number generator's sequence. The general
contract of nextLong is that one long value is pseudorandomly
generated and returned. All 264
possible long values are produced with (approximately) equal
probability. The method nextLong is implemented by class
Random as follows:
public long nextLong() { return ((long)next(32) << 32) + next(32); }
nextLong
in class Random
long
value from this random number generator's sequence.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |