Package org.apache.commons.rng.simple.internal
Utilities for seed conversion.
-
Interface Summary Interface Description Seed2ArrayConverter<IN,OUT> Seed converter to create an output array type.SeedConverter<IN,OUT> Seed converter. -
Class Summary Class Description ByteArray2IntArray Creates aint[]
from abyte[]
.ByteArray2LongArray Creates along[]
from abyte[]
.Int2Long Converts aInteger
to anLong
.IntArray2Int Creates a single value by "xor" of all the values in the input array.IntArray2LongArray Creates along[]
from anint[]
.Long2Int Converts aLong
to anInteger
.Long2IntArray Uses along
value to seed aSplitMix64
RNG and create aint[]
with the requested number of random values.Long2LongArray Uses aLong
value to seed aSplitMix64
RNG and create along[]
with the requested number of random values.LongArray2IntArray Creates anint[]
from along[]
.LongArray2Long Creates a single value by "xor" of all the values in the input array.NoOpConverter<SEED> Dummy converter that simply passes on its input.ProviderBuilder RNG builder.SeedConverterComposer<IN,TRANS,OUT> Composes twoconverters
.SeedFactory Utilities related to seeding. -
Enum Summary Enum Description NativeSeedType The native seed type.ProviderBuilder.RandomSourceInternal Identifiers of the generators.