commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Created] (RNG-21) Interface "RestorableUniformRandomProvider"
Date Tue, 18 Oct 2016 12:46:58 GMT
Gilles created RNG-21:

             Summary: Interface "RestorableUniformRandomProvider"
                 Key: RNG-21
             Project: Commons RNG
          Issue Type: Improvement
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 1.0

In order to make usage of the "save/restore" functionality slightly more intuitive, a new
interface will extend {{UniformRandomProvider}} with the following methods:
RandomSourceState saveState();
void restoreState(RandomSourceState state);
where "RandomSourceState" is a maker interface (whose concrete implementation is the {{RandomSource.State}}

Those methods will replace their counterpart currently defined in class {{RandomSource}}.

This message was sent by Atlassian JIRA

View raw message