org.infinitest.toolkit.random
Class JavaSourceOfRandomness
java.lang.Object
org.infinitest.toolkit.random.JavaSourceOfRandomness
- All Implemented Interfaces:
- SourceOfRandomness
public class JavaSourceOfRandomness
- extends Object
- implements SourceOfRandomness
JavaSourceOfRandomness
public JavaSourceOfRandomness(Random random)
nextBoolean
public boolean nextBoolean()
- Specified by:
nextBoolean in interface SourceOfRandomness
nextBytes
public void nextBytes(byte[] bytes)
- Specified by:
nextBytes in interface SourceOfRandomness
nextDouble
public double nextDouble()
- Specified by:
nextDouble in interface SourceOfRandomness
nextFloat
public float nextFloat()
- Specified by:
nextFloat in interface SourceOfRandomness
nextGaussian
public double nextGaussian()
- Specified by:
nextGaussian in interface SourceOfRandomness
nextInt
public int nextInt()
- Specified by:
nextInt in interface SourceOfRandomness
nextInt
public int nextInt(int n)
- Specified by:
nextInt in interface SourceOfRandomness
nextLong
public long nextLong()
- Specified by:
nextLong in interface SourceOfRandomness
© Copyright 2009 Paul R. Holser, Jr. All rights reserved. pholser@alumni.rice.edu