commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex D Herbert (JIRA)" <>
Subject [jira] [Created] (RNG-78) ThreadLocalRandomSource
Date Fri, 01 Mar 2019 22:23:00 GMT
Alex D Herbert created RNG-78:

             Summary: ThreadLocalRandomSource
                 Key: RNG-78
             Project: Commons RNG
          Issue Type: New Feature
          Components: simple
    Affects Versions: 1.3
            Reporter: Alex D Herbert
            Assignee: Alex D Herbert

Implement a helper class that can provide thread-local {{UniformRandomProvider}} instances. 

This can be used as an equivalent of {{ThreadLocalRandom}}:

// c.f.
Random random = ThreadLocalRandom.current();

// Access a thread-safe random number generator
UniformRandomProvider rng = 

This message was sent by Atlassian JIRA

View raw message