Registry / utility / commons-rng-simple

commons-rng-simple

JSON →
library1.7javamavenunverified

Simple API for instantiating random numbers generators from Apache Commons RNG.

<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-rng-simple</artifactId> <version>1.7</version> </dependency>
INSTALL
IMPORT
SIG · COMMONS-RNG-SIMPLE
C
commons-rng-simple
utilityjavav1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RandomSource
org.apache.commons.rng.simple.RandomSource

Creates a Mersenne Twister random number generator and generates a random integer.

import org.apache.commons.rng.simple.RandomSource; import org.apache.commons.rng.UniformRandomProvider; // Create a random number generator UniformRandomProvider rng = RandomSource.create(RandomSource.MT); int randomInt = rng.nextInt(100); System.out.println(randomInt);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
commons-rng-simple — mvn dependency:get commons-rng-simple · libregistry