Skip navigation links
B C G I J L N O P R S T U V 

B

ByteArray2IntArray - Class in org.apache.commons.rng.simple.internal
Creates a int[] from a byte[].
ByteArray2IntArray() - Constructor for class org.apache.commons.rng.simple.internal.ByteArray2IntArray
 
ByteArray2LongArray - Class in org.apache.commons.rng.simple.internal
Creates a long[] from a byte[].
ByteArray2LongArray() - Constructor for class org.apache.commons.rng.simple.internal.ByteArray2LongArray
 

C

convert(byte[]) - Method in class org.apache.commons.rng.simple.internal.ByteArray2IntArray
Converts seed from input type to output type.
convert(byte[]) - Method in class org.apache.commons.rng.simple.internal.ByteArray2LongArray
Converts seed from input type to output type.
convert(Integer) - Method in class org.apache.commons.rng.simple.internal.Int2Long
Converts seed from input type to output type.
convert(int[]) - Method in class org.apache.commons.rng.simple.internal.IntArray2Int
Converts seed from input type to output type.
convert(int[]) - Method in class org.apache.commons.rng.simple.internal.IntArray2LongArray
Converts seed from input type to output type.
convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2Int
Converts seed from input type to output type.
convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2IntArray
Converts seed from input type to output type.
convert(Long, int) - Method in class org.apache.commons.rng.simple.internal.Long2IntArray
Converts seed from input type to output type.
convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2LongArray
Converts seed from input type to output type.
convert(Long, int) - Method in class org.apache.commons.rng.simple.internal.Long2LongArray
Converts seed from input type to output type.
convert(long[]) - Method in class org.apache.commons.rng.simple.internal.LongArray2IntArray
Converts seed from input type to output type.
convert(long[]) - Method in class org.apache.commons.rng.simple.internal.LongArray2Long
Converts seed from input type to output type.
convert(Integer, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Convert the input Integer seed to the native seed type.
convert(Long, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Convert the input Long seed to the native seed type.
convert(int[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Convert the input int[] seed to the native seed type.
convert(long[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Convert the input long[] seed to the native seed type.
convert(byte[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Convert the input byte[] seed to the native seed type.
convert(SEED) - Method in class org.apache.commons.rng.simple.internal.NoOpConverter
Converts seed from input type to output type.
convert(IN, int) - Method in interface org.apache.commons.rng.simple.internal.Seed2ArrayConverter
Converts seed from input type to output type.
convert(IN) - Method in interface org.apache.commons.rng.simple.internal.SeedConverter
Converts seed from input type to output type.
convert(IN) - Method in class org.apache.commons.rng.simple.internal.SeedConverterComposer
Converts seed from input type to output type.
convertSeed(Object, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Converts the input seed from any of the supported seed types to the native seed type.
convertSeed(Object) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Converts a seed from any of the supported seed types to a native seed.
convertSeedToBytes(Object) - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Converts the input seed from any of the supported seed types to bytes.
create(ProviderBuilder.RandomSourceInternal) - Static method in class org.apache.commons.rng.simple.internal.ProviderBuilder
Creates a RNG instance.
create(ProviderBuilder.RandomSourceInternal, Object, Object[]) - Static method in class org.apache.commons.rng.simple.internal.ProviderBuilder
Creates a RNG instance.
create() - Method in enum org.apache.commons.rng.simple.RandomSource
Creates a random number generator with a random seed.
create(Object, Object...) - Method in enum org.apache.commons.rng.simple.RandomSource
Creates a random number generator with the given seed.
create(RandomSource) - Static method in enum org.apache.commons.rng.simple.RandomSource
Deprecated.
It is preferred to use the RandomSource.create() instance method.
create(RandomSource, Object, Object...) - Static method in enum org.apache.commons.rng.simple.RandomSource
Deprecated.
It is preferred to use the RandomSource.create(Object, Object...) instance method.
createByteArraySeed(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Creates a byte[] seed using the provided source of randomness.
createInt() - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
Creates an int number for use as a seed.
createInt() - Static method in enum org.apache.commons.rng.simple.RandomSource
Creates a number for use as a seed.
createIntArray(int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
Creates an array of int numbers for use as a seed.
createIntArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
Creates an array of numbers for use as a seed.
createLong() - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
Creates a long number for use as a seed.
createLong() - Static method in enum org.apache.commons.rng.simple.RandomSource
Creates a number for use as a seed.
createLongArray(int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
Creates an array of long numbers for use as a seed.
createLongArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
Creates an array of numbers for use as a seed.
createSeed(int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Creates the seed.
createSeed(int, int, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Creates the seed.
createSeed() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Creates a native seed.
createSeed() - Method in enum org.apache.commons.rng.simple.RandomSource
Creates a seed suitable for the implementing class represented by this random source.
createSeed(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.RandomSource
Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
createSeedBytes() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Creates a seed suitable for the implementing class represented by this random source.
createSeedBytes(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
current(RandomSource) - Static method in class org.apache.commons.rng.simple.ThreadLocalRandomSource
Returns the current thread's copy of the given source.

G

getBytes() - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Gets the number of bytes required to represent the native seed type.
getRng() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Gets the implementing class of the random source.
getType() - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Gets the class type of the native seed.

I

Int2Long - Class in org.apache.commons.rng.simple.internal
Converts a Integer to an Long.
Int2Long() - Constructor for class org.apache.commons.rng.simple.internal.Int2Long
 
IntArray2Int - Class in org.apache.commons.rng.simple.internal
Creates a single value by "xor" of all the values in the input array.
IntArray2Int() - Constructor for class org.apache.commons.rng.simple.internal.IntArray2Int
 
IntArray2LongArray - Class in org.apache.commons.rng.simple.internal
Creates a long[] from an int[].
IntArray2LongArray() - Constructor for class org.apache.commons.rng.simple.internal.IntArray2LongArray
 
isJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
Checks whether the implementing class represented by this random source supports the JumpableUniformRandomProvider interface.
isLongJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
Checks whether the implementing class represented by this random source supports the LongJumpableUniformRandomProvider interface.
isNativeSeed(SEED) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Checks whether the type of given seed is the native type of the implementation.
isNativeSeed(Object) - Method in enum org.apache.commons.rng.simple.RandomSource
Checks whether the type of given seed is the native type of the implementation.
isSplittable() - Method in enum org.apache.commons.rng.simple.RandomSource
Checks whether the implementing class represented by this random source supports the SplittableUniformRandomProvider interface.

J

JDKRandomBridge - Class in org.apache.commons.rng.simple
Subclass of Random that delegates to a RestorableUniformRandomProvider instance but will otherwise rely on the base class for generating all the random types.
JDKRandomBridge(RandomSource, Object) - Constructor for class org.apache.commons.rng.simple.JDKRandomBridge
Creates a new instance.
JDKRandomWrapper - Class in org.apache.commons.rng.simple
Wraps a Random instance to implement UniformRandomProvider.
JDKRandomWrapper(Random) - Constructor for class org.apache.commons.rng.simple.JDKRandomWrapper
Create a wrapper around a Random instance.

L

Long2Int - Class in org.apache.commons.rng.simple.internal
Converts a Long to an Integer.
Long2Int() - Constructor for class org.apache.commons.rng.simple.internal.Long2Int
 
Long2IntArray - Class in org.apache.commons.rng.simple.internal
Uses a long value to seed a SplitMix64 RNG and create a int[] with the requested number of random values.
Long2IntArray(int) - Constructor for class org.apache.commons.rng.simple.internal.Long2IntArray
 
Long2LongArray - Class in org.apache.commons.rng.simple.internal
Uses a Long value to seed a SplitMix64 RNG and create a long[] with the requested number of random values.
Long2LongArray(int) - Constructor for class org.apache.commons.rng.simple.internal.Long2LongArray
 
LongArray2IntArray - Class in org.apache.commons.rng.simple.internal
Creates an int[] from a long[].
LongArray2IntArray() - Constructor for class org.apache.commons.rng.simple.internal.LongArray2IntArray
 
LongArray2Long - Class in org.apache.commons.rng.simple.internal
Creates a single value by "xor" of all the values in the input array.
LongArray2Long() - Constructor for class org.apache.commons.rng.simple.internal.LongArray2Long
 

N

NativeSeedType - Enum in org.apache.commons.rng.simple.internal
The native seed type.
next(int) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
Delegates the generation of 32 random bits to the RandomSource argument provided at construction.
nextBoolean() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextBytes(byte[]) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextBytes(byte[], int, int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextDouble() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextFloat() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextInt() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextInt(int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextLong() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
nextLong(long) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
NoOpConverter<SEED> - Class in org.apache.commons.rng.simple.internal
Dummy converter that simply passes on its input.
NoOpConverter() - Constructor for class org.apache.commons.rng.simple.internal.NoOpConverter
 

O

org.apache.commons.rng.simple - package org.apache.commons.rng.simple
This package provides factory methods by which low-level classes implemented in module "commons-rng-core" are instantiated.
org.apache.commons.rng.simple.internal - package org.apache.commons.rng.simple.internal
Utilities for seed conversion.

P

ProviderBuilder - Class in org.apache.commons.rng.simple.internal
RNG builder.
ProviderBuilder.RandomSourceInternal - Enum in org.apache.commons.rng.simple.internal
Identifiers of the generators.

R

RandomSource - Enum in org.apache.commons.rng.simple
This class provides the API for creating generators of random numbers.

S

Seed2ArrayConverter<IN,OUT> - Interface in org.apache.commons.rng.simple.internal
Seed converter to create an output array type.
SeedConverter<IN,OUT> - Interface in org.apache.commons.rng.simple.internal
Seed converter.
SeedConverterComposer<IN,TRANS,OUT> - Class in org.apache.commons.rng.simple.internal
Composes two converters.
SeedConverterComposer(SeedConverter<IN, TRANS>, SeedConverter<TRANS, OUT>) - Constructor for class org.apache.commons.rng.simple.internal.SeedConverterComposer
 
SeedFactory - Class in org.apache.commons.rng.simple.internal
Utilities related to seeding.
setSeed(long) - Method in class org.apache.commons.rng.simple.JDKRandomBridge

T

ThreadLocalRandomSource - Class in org.apache.commons.rng.simple
This class provides a thread-local UniformRandomProvider.

U

unrestorable(UniformRandomProvider) - Static method in enum org.apache.commons.rng.simple.RandomSource
Wraps the given delegate generator in a new instance that only provides access to the UniformRandomProvider methods.

V

valueOf(String) - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.commons.rng.simple.RandomSource
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.commons.rng.simple.RandomSource
Returns an array containing the constants of this enum type, in the order they are declared.
B C G I J L N O P R S T U V 
Skip navigation links

Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.