java.rmi.server
Class ObjID.InsecureRandom

java.lang.Object
  extended byjava.util.Random
      extended byjava.rmi.server.ObjID.InsecureRandom
All Implemented Interfaces:
Serializable
Enclosing class:
ObjID

private static final class ObjID.InsecureRandom
extends Random


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

serialVersionUID

private static final long serialVersionUID
unnecessary serialVersionUID to keep watchdog tools happy

See Also:
Constant Field Values

nextNum

private long nextNum
Constructor Detail

ObjID.InsecureRandom

private ObjID.InsecureRandom()
Method Detail

nextLong

public long nextLong()
Description copied from class: Random
Returns the next pseudorandom, uniformly distributed 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);
 }

Overrides:
nextLong in class Random
Returns:
the next pseudorandom, uniformly distributed long value from this random number generator's sequence.