public abstract class LongProvider extends BaseProvider implements RandomLongSource
long
-based
source randomness.Constructor and Description |
---|
LongProvider() |
Modifier and Type | Method and Description |
---|---|
abstract long |
next() |
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
void |
nextBytes(byte[] bytes,
int start,
int len) |
double |
nextDouble() |
float |
nextFloat() |
int |
nextInt() |
long |
nextLong() |
checkIndex, checkStateSize, fillState, fillState, getStateInternal, nextInt, nextLong, restoreState, saveState, setStateInternal, toString
public LongProvider()
public abstract long next()
next
in interface RandomLongSource
public long nextLong()
nextLong
in interface UniformRandomProvider
public int nextInt()
nextInt
in interface UniformRandomProvider
public double nextDouble()
nextDouble
in interface UniformRandomProvider
public boolean nextBoolean()
nextBoolean
in interface UniformRandomProvider
public float nextFloat()
nextFloat
in interface UniformRandomProvider
public void nextBytes(byte[] bytes)
nextBytes
in interface UniformRandomProvider
public void nextBytes(byte[] bytes, int start, int len)
nextBytes
in interface UniformRandomProvider
Copyright © 2016 The Apache Software Foundation. All rights reserved.