commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RNG-21) Interface "RestorableUniformRandomProvider"
Date Tue, 18 Oct 2016 12:49:59 GMT

     [ https://issues.apache.org/jira/browse/RNG-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

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

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

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


> Interface "RestorableUniformRandomProvider"
> -------------------------------------------
>
>                 Key: RNG-21
>                 URL: https://issues.apache.org/jira/browse/RNG-21
>             Project: Commons RNG
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: API
>             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:
> {code}
> RandomSourceState saveState();
> void restoreState(RandomSourceState state);
> {code}
> where "RandomSourceState" is a marker interface (whose concrete implementation is the
{{RandomSource.State}} class).
> Those methods will replace their counterpart currently defined in class {{RandomSource}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message