Registry / utility / safe-thread-local-random

safe-thread-local-random

JSON →
library0.7.0javamavenunverified

Palantir open source project providing a safe thread-local random number generator.

<dependency> <groupId>com.palantir.safethreadlocalrandom</groupId> <artifactId>safe-thread-local-random</artifactId> <version>0.7.0</version> </dependency>
INSTALL
IMPORT
SIG · SAFE-THREAD-LOCAL-
S
safe-thread-local-random
utilityjavav0.7.0
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.

SafeThreadLocalRandom
com.palantir.safethreadlocalrandom.SafeThreadLocalRandom

Minimal example using SafeThreadLocalRandom to generate a random integer.

import com.palantir.safethreadlocalrandom.SafeThreadLocalRandom; public class Example { public static void main(String[] args) { SafeThreadLocalRandom random = SafeThreadLocalRandom.get(); System.out.println(random.nextInt()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
safe-thread-local-random — mvn dependency:get safe-thread-local-random · libregistry