public abstract class IntProvider extends BaseProvider implements RandomIntSource
int-based
source randomness.| Constructor and Description |
|---|
IntProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
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, toStringpublic abstract int next()
next in interface RandomIntSourcepublic int nextInt()
nextInt in interface UniformRandomProviderpublic boolean nextBoolean()
nextBoolean in interface UniformRandomProviderpublic double nextDouble()
nextDouble in interface UniformRandomProviderpublic float nextFloat()
nextFloat in interface UniformRandomProviderpublic long nextLong()
nextLong in interface UniformRandomProviderpublic void nextBytes(byte[] bytes)
nextBytes in interface UniformRandomProviderpublic void nextBytes(byte[] bytes,
int start,
int len)
nextBytes in interface UniformRandomProviderCopyright © 2016 The Apache Software Foundation. All rights reserved.