Java org.apache.mahout.common RandomUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.mahout.common RandomUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.mahout.common RandomUtils.

The text is from its open source code.

Field

intMAX_INT_SMALLER_TWIN_PRIME
The largest prime less than 231-1 that is the smaller of a twin prime pair.

Method

RandomWrappergetRandom()
RandomgetRandom(long seed)
inthashDouble(double value)
inthashFloat(float value)
intnextTwinPrime(int n)

Finds next-largest "twin primes": numbers p and p+2 such that both are prime.

voiduseTestSeed()