Package mocka.random.index
Interface RandomIndexProvider
- All Known Implementing Classes:
DefaultRandomIndexProvider,ThreadLocalRandomIndexProvider
public interface RandomIndexProvider
-
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetDouble(double size) doublegetDouble(double min, double max) floatgetFloat(float size) floatgetFloat(float min, float max) doublegetGaussian(double mean, double stdev) intgetInt(int size) intgetInt(int min, int max) longgetLong(long size) longgetLong(long min, long max) <T> TgetNextIdx(T size)
-
Method Details
-
getNextIdx
<T> T getNextIdx(T size) -
getBoolean
boolean getBoolean() -
getInt
int getInt(int size) -
getInt
int getInt(int min, int max) -
getLong
long getLong(long size) -
getLong
long getLong(long min, long max) -
getFloat
float getFloat(float size) -
getFloat
float getFloat(float min, float max) -
getDouble
double getDouble(double size) -
getDouble
double getDouble(double min, double max) -
getGaussian
double getGaussian(double mean, double stdev)
-