Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-21

Interface "RestorableUniformRandomProvider"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.0
    • client-api

    Description

      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 marker interface (whose concrete implementation is the RandomSource.State class).

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

      Attachments

        Activity

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: