net.sourceforge.cilib.math.random.generator
Class Random

java.lang.Object
  extended by java.util.Random
      extended by net.sourceforge.cilib.math.random.generator.Random
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
KnuthSubtractive, MersenneTwister, QuasiRandom, RANLUX, Tausworthe, ZiffGFSR4

public abstract class Random
extends Random
implements Cloneable

See Also:
Serialized Form

Constructor Summary
Random(long seed)
           
 
Method Summary
abstract  Random getClone()
          Create a cloned copy of the current object and return it.
 
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

Random

public Random(long seed)
Method Detail

getClone

public abstract Random getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()


Copyright © 2009 CIRG. All Rights Reserved.