public class FasterRandom extends Object implements org.apache.commons.math3.random.RandomGenerator
| Constructor and Description |
|---|
FasterRandom() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int i) |
long |
nextLong() |
void |
setSeed(int seed) |
void |
setSeed(int[] ints) |
void |
setSeed(long seed) |
public void setSeed(int seed)
setSeed in interface org.apache.commons.math3.random.RandomGeneratorpublic void setSeed(int[] ints)
setSeed in interface org.apache.commons.math3.random.RandomGeneratorpublic void setSeed(long seed)
setSeed in interface org.apache.commons.math3.random.RandomGeneratorpublic void nextBytes(byte[] bytes)
nextBytes in interface org.apache.commons.math3.random.RandomGeneratorpublic int nextInt()
nextInt in interface org.apache.commons.math3.random.RandomGeneratorpublic int nextInt(int i)
nextInt in interface org.apache.commons.math3.random.RandomGeneratorpublic long nextLong()
nextLong in interface org.apache.commons.math3.random.RandomGeneratorpublic boolean nextBoolean()
nextBoolean in interface org.apache.commons.math3.random.RandomGeneratorpublic float nextFloat()
nextFloat in interface org.apache.commons.math3.random.RandomGeneratorpublic double nextDouble()
nextDouble in interface org.apache.commons.math3.random.RandomGeneratorpublic double nextGaussian()
nextGaussian in interface org.apache.commons.math3.random.RandomGenerator© 2014 Robert Stupp, Koeln, Germany, robert-stupp.de - licensed under Apache License, Version 2 - Homepage