org.opt4j.core.common.random
Class RandomJava

java.lang.Object
  extended by java.util.Random
      extended by org.opt4j.core.common.random.Rand
          extended by org.opt4j.core.common.random.RandomJava
All Implemented Interfaces:
java.io.Serializable

public class RandomJava
extends Rand

The RandomJava is the default java Random.

See Also:
Serialized Form

Constructor Summary
RandomJava(long seed)
          Constructs a RandomJava with the specified seed.
 
Method Summary
 
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

RandomJava

@Inject
public RandomJava(long seed)
Constructs a RandomJava with the specified seed.

Parameters:
seed - the seed value (using namespace Random)