commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r995697 [10/14] - in /websites/production/commons/content/proper/commons-rng: ./ apidocs/ apidocs/org/apache/commons/rng/ apidocs/org/apache/commons/rng/class-use/ apidocs/org/apache/commons/rng/internal/ apidocs/org/apache/commons/rng/inte...
Date Mon, 22 Aug 2016 22:01:59 GMT
Modified: websites/production/commons/content/proper/commons-rng/team-list.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/team-list.html (original)
+++ websites/production/commons/content/proper/commons-rng/team-list.html Mon Aug 22 22:01:58
2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 18 August 2016
+ | Generated by Apache Maven Doxia at 23 August 2016
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20160818" />
+    <meta name="Date-Revision-yyyymmdd" content="20160823" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Rng &#x2013; Project Team</title>
 
@@ -40,7 +40,7 @@
           <a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache
Commons Rng &trade;</a>
           <ul class="nav">      
                     
-            <li id="publishDate">Last Published: 18 August 2016</li>
+            <li id="publishDate">Last Published: 23 August 2016</li>
       <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
   </ul>
                     <div class="pull-right">  <ul class="nav">
@@ -94,17 +94,9 @@
     Source Repository (current)</a>
           </li>
                              <li class="none">
-                  <a href="http://wiki.apache.org/commons/Rng" class="externalLink" title="Wiki">
-    Wiki</a>
-          </li>
-                             <li class="none">
                   <a href="developers.html" title="Developers Guide">
     Developers Guide</a>
           </li>
-                             <li class="none">
-                  <a href="proposal.html" title="Proposal">
-    Proposal</a>
-          </li>
                  </ul>
       <ul class="nav nav-list">
                                         <li class="nav-header"><i class="icon-book"></i>User
Guide</li>

Modified: websites/production/commons/content/proper/commons-rng/userguide/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/userguide/index.html (original)
+++ websites/production/commons/content/proper/commons-rng/userguide/index.html Mon Aug 22
22:01:58 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 18 August 2016
+ | Generated by Apache Maven Doxia at 23 August 2016
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20160818" />
+    <meta name="Date-Revision-yyyymmdd" content="20160823" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Rng &#x2013; The Commons Rng User Guide - Table of Contents</title>
 
@@ -40,7 +40,7 @@
           <a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache
Commons Rng &trade;</a>
           <ul class="nav">      
                     
-            <li id="publishDate">Last Published: 18 August 2016</li>
+            <li id="publishDate">Last Published: 23 August 2016</li>
       <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
   </ul>
                     <div class="pull-right">  <ul class="nav">
@@ -94,17 +94,9 @@
     Source Repository (current)</a>
           </li>
                              <li class="none">
-                  <a href="http://wiki.apache.org/commons/Rng" class="externalLink" title="Wiki">
-    Wiki</a>
-          </li>
-                             <li class="none">
                   <a href="../developers.html" title="Developers Guide">
     Developers Guide</a>
           </li>
-                             <li class="none">
-                  <a href="../proposal.html" title="Proposal">
-    Proposal</a>
-          </li>
                  </ul>
       <ul class="nav nav-list">
                                         <li class="nav-header"><i class="icon-book"></i>User
Guide</li>

Modified: websites/production/commons/content/proper/commons-rng/userguide/rng.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/userguide/rng.html (original)
+++ websites/production/commons/content/proper/commons-rng/userguide/rng.html Mon Aug 22 22:01:58
2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 18 August 2016
+ | Generated by Apache Maven Doxia at 23 August 2016
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20160818" />
+    <meta name="Date-Revision-yyyymmdd" content="20160823" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Rng &#x2013; The Commons Rng User Guide</title>
 
@@ -40,7 +40,7 @@
           <a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache
Commons Rng &trade;</a>
           <ul class="nav">      
                     
-            <li id="publishDate">Last Published: 18 August 2016</li>
+            <li id="publishDate">Last Published: 23 August 2016</li>
       <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
   </ul>
                     <div class="pull-right">  <ul class="nav">
@@ -94,17 +94,9 @@
     Source Repository (current)</a>
           </li>
                              <li class="none">
-                  <a href="http://wiki.apache.org/commons/Rng" class="externalLink" title="Wiki">
-    Wiki</a>
-          </li>
-                             <li class="none">
                   <a href="../developers.html" title="Developers Guide">
     Developers Guide</a>
           </li>
-                             <li class="none">
-                  <a href="../proposal.html" title="Proposal">
-    Proposal</a>
-          </li>
                  </ul>
       <ul class="nav nav-list">
                                         <li class="nav-header"><i class="icon-book"></i>User
Guide</li>
@@ -316,12 +308,12 @@ UniformRandomProvider rngOrig = RandomSo
 RandomSource.State stateOrig = RandomSource.saveState(rngOrig);
 ByteArrayOutputStream bos = new ByteArrayOutputStream();
 ObjectOutputStream oos = new ObjectOutputStream(bos);
-oos.writeObject(stateOrig);
+oos.writeObject(stateOrig.getState());
 
 // Deserialize state.
 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
 ObjectInputStream ois = new ObjectInputStream(bis);
-RandomSource.State stateNew = (RandomSource.State) ois.readObject();
+RandomSource.State stateNew = new RandomSource.State((byte[]) ois.readObject());
 
 UniformRandomProvider rngNew = RandomSource.create(source); // New RNG instance from the
same &quot;source&quot;.
 
@@ -338,7 +330,7 @@ RandomSource.restoreState(rngNew, stateN
 <p>The rest of this section briefly describes the internal classes. More information
is available in the <a href="../apidocs/index.html">Javadoc</a>.</p>
 <ul>
 <li><tt>ProviderBuilder</tt>: contains methods for instantiating the concrete
RNG implementations based on the source identifier; it also takes care of calling the appropriate
classes for seed type conversion.</li>
-<li><tt>BaseProvider</tt>: base class for all concrete RNG implementations;
it contains higher-level algorithms <tt>nextInt(int n)</tt> and <tt>nextLong(long
n)</tt> common to all implementations; it defines the implementation of the <tt>Random.State</tt>
public interface.</li>
+<li><tt>BaseProvider</tt>: base class for all concrete RNG implementations;
it contains higher-level algorithms <tt>nextInt(int n)</tt> and <tt>nextLong(long
n)</tt> common to all implementations; it defines the implementation of the <tt>RandomSource.State</tt>
public interface.</li>
 <li><tt>StateSettable</tt>: interface to be implemented by concrete random
sources.</li>
 <li><tt>org.apache.commons.rng.internal.util</tt>
 <ul>



Mime
View raw message