public static enum ProviderBuilder.RandomSourceInternal extends java.lang.Enum<ProviderBuilder.RandomSourceInternal>
Enum Constant | Description |
---|---|
ISAAC |
Source of randomness is
ISAACRandom . |
JDK |
Source of randomness is
JDKRandom . |
KISS |
Source of randomness is
KISSRandom . |
MT |
Source of randomness is
MersenneTwister . |
MT_64 |
Source of randomness is
MersenneTwister64 . |
MWC_256 |
Source of randomness is
MultiplyWithCarry256 . |
SPLIT_MIX_64 |
Source of randomness is
SplitMix64 . |
TWO_CMRES |
Source of randomness is
TwoCmres . |
TWO_CMRES_SELECT |
Source of randomness is
TwoCmres with explicit selection
of the two subcycle generators. |
WELL_1024_A |
Source of randomness is
Well1024a . |
WELL_19937_A |
Source of randomness is
Well19937a . |
WELL_19937_C |
Source of randomness is
Well19937c . |
WELL_44497_A |
Source of randomness is
Well44497a . |
WELL_44497_B |
Source of randomness is
Well44497b . |
WELL_512_A |
Source of randomness is
Well512a . |
XOR_SHIFT_1024_S |
Source of randomness is
XorShift1024Star . |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Class<?> |
getRng() |
|
<SEED> boolean |
isNativeSeed(SEED seed) |
Checks whether the type of given
seed is the native type
of the implementation. |
static ProviderBuilder.RandomSourceInternal |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ProviderBuilder.RandomSourceInternal[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProviderBuilder.RandomSourceInternal JDK
JDKRandom
.public static final ProviderBuilder.RandomSourceInternal WELL_512_A
Well512a
.public static final ProviderBuilder.RandomSourceInternal WELL_1024_A
Well1024a
.public static final ProviderBuilder.RandomSourceInternal WELL_19937_A
Well19937a
.public static final ProviderBuilder.RandomSourceInternal WELL_19937_C
Well19937c
.public static final ProviderBuilder.RandomSourceInternal WELL_44497_A
Well44497a
.public static final ProviderBuilder.RandomSourceInternal WELL_44497_B
Well44497b
.public static final ProviderBuilder.RandomSourceInternal MT
MersenneTwister
.public static final ProviderBuilder.RandomSourceInternal ISAAC
ISAACRandom
.public static final ProviderBuilder.RandomSourceInternal SPLIT_MIX_64
SplitMix64
.public static final ProviderBuilder.RandomSourceInternal XOR_SHIFT_1024_S
XorShift1024Star
.public static final ProviderBuilder.RandomSourceInternal TWO_CMRES
TwoCmres
.public static final ProviderBuilder.RandomSourceInternal TWO_CMRES_SELECT
TwoCmres
with explicit selection
of the two subcycle generators.public static final ProviderBuilder.RandomSourceInternal MT_64
MersenneTwister64
.public static final ProviderBuilder.RandomSourceInternal MWC_256
MultiplyWithCarry256
.public static final ProviderBuilder.RandomSourceInternal KISS
KISSRandom
.public static ProviderBuilder.RandomSourceInternal[] values()
for (ProviderBuilder.RandomSourceInternal c : ProviderBuilder.RandomSourceInternal.values()) System.out.println(c);
public static ProviderBuilder.RandomSourceInternal valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Class<?> getRng()
public <SEED> boolean isNativeSeed(SEED seed)
seed
is the native type
of the implementation.SEED
- Seed type.seed
- Seed value.true
if the seed can be passed to the builder
for this RNG type.Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.