Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 63AD9200B83 for ; Fri, 2 Sep 2016 18:38:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60FF0160AAE; Fri, 2 Sep 2016 16:38:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4A0A9160A8C for ; Fri, 2 Sep 2016 18:38:43 +0200 (CEST) Received: (qmail 63922 invoked by uid 500); 2 Sep 2016 16:38:42 -0000 Mailing-List: contact notifications-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list notifications@commons.apache.org Received: (qmail 63909 invoked by uid 99); 2 Sep 2016 16:38:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2016 16:38:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D60D21857D1 for ; Fri, 2 Sep 2016 16:38:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.374 X-Spam-Level: X-Spam-Status: No, score=0.374 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XtMHP9Qc0bkQ for ; Fri, 2 Sep 2016 16:38:16 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9298560D9C for ; Fri, 2 Sep 2016 16:38:05 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AD095E79AD for ; Fri, 2 Sep 2016 16:38:02 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id A749D3A2B14 for ; Fri, 2 Sep 2016 16:38:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r996528 [35/35] - 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: Fri, 02 Sep 2016 16:37:59 -0000 To: notifications@commons.apache.org From: erans@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160902163802.A749D3A2B14@svn01-us-west.apache.org> archived-at: Fri, 02 Sep 2016 16:38:45 -0000 Added: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html (added) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html Fri Sep 2 16:37:56 2016 @@ -0,0 +1,147 @@ + + + +MultiplyWithCarry256 xref + + + +
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one or more
+3    * contributor license agreements.  See the NOTICE file distributed with
+4    * this work for additional information regarding copyright ownership.
+5    * The ASF licenses this file to You under the Apache License, Version 2.0
+6    * (the "License"); you may not use this file except in compliance with
+7    * the License.  You may obtain a copy of the License at
+8    *
+9    *      http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in writing, software
+12   * distributed under the License is distributed on an "AS IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+14   * See the License for the specific language governing permissions and
+15   * limitations under the License.
+16   */
+17  package org.apache.commons.rng.internal.source32;
+18  
+19  import java.util.Arrays;
+20  import org.apache.commons.rng.internal.util.NumberFactory;
+21  
+22  /**
+23   * Port from Marsaglia's <a href="https://en.wikipedia.org/wiki/Multiply-with-carry">
+24   * "Multiply-With-Carry" algorithm</a>.
+25   *
+26   * <p>
+27   * Implementation is based on the (non-portable!) C code reproduced on
+28   * <a href="http://school.anhb.uwa.edu.au/personalpages/kwessen/shared/Marsaglia03.html">
+29   * that page</a>.
+30   * </p>
+31   *
+32   * @since 1.0
+33   */
+34  public class MultiplyWithCarry256 extends IntProvider {
+35      /** Length of the state array. */
+36      private static final int Q_SIZE = 256;
+37      /** Size of the seed. */
+38      private static final int SEED_SIZE = Q_SIZE + 1;
+39      /** Multiply. */
+40      private static final long A = 809430660;
+41      /** State. */
+42      private final int[] state = new int[Q_SIZE];
+43      /** Current index in "state" array. */
+44      private int index;
+45      /** Carry. */
+46      private int carry;
+47  
+48      /**
+49       * Creates a new instance.
+50       *
+51       * @param seed Seed.
+52       * If the length is larger than 257, only the first 257 elements will
+53       * be used; if smaller, the remaining elements will be automatically
+54       * set.
+55       */
+56      public MultiplyWithCarry256(int[] seed) {
+57          setSeedInternal(seed);
+58      }
+59  
+60      /** {@inheritDoc} */
+61      @Override
+62      protected byte[] getStateInternal() {
+63          final int[] s = Arrays.copyOf(state, SEED_SIZE + 1);
+64          s[SEED_SIZE - 1] = carry;
+65          s[SEED_SIZE] = index;
+66  
+67          return NumberFactory.makeByteArray(s);
+68      }
+69  
+70      /** {@inheritDoc} */
+71      @Override
+72      protected void setStateInternal(byte[] s) {
+73          checkStateSize(s, (SEED_SIZE + 1) * 4);
+74  
+75          final int[] tmp = NumberFactory.makeIntArray(s);
+76  
+77          System.arraycopy(tmp, 0, state, 0, Q_SIZE);
+78          carry = tmp[SEED_SIZE - 1];
+79          index = tmp[SEED_SIZE];
+80      }
+81  
+82      /**
+83       * Seeds the RNG.
+84       *
+85       * @param seed Seed.
+86       */
+87      private void setSeedInternal(int[] seed) {
+88          // Reset the whole state of this RNG (i.e. "state" and "index").
+89          // Seeding procedure is not part of the reference code.
+90  
+91          final int[] tmp = new int[SEED_SIZE];
+92          System.arraycopy(seed, 0, tmp, 0, Math.min(seed.length, tmp.length));
+93  
+94          if (seed.length < SEED_SIZE) {
+95              for (int i = seed.length; i < SEED_SIZE; i++) {
+96                  tmp[i] = 26021969 * i;
+97              }
+98              for (int i = SEED_SIZE - 1; i > seed.length; i--) {
+99                  tmp[i] ^= tmp[SEED_SIZE - i - 1];
+100             }
+101 
+102             tmp[seed.length] = 0x80000000; // Ensuring non-zero initial array.
+103         }
+104 
+105         // First element of the "seed" is the initial "carry".
+106         final int c = tmp[0];
+107         // Marsaglia's recommendation: 0 <= carry < A.
+108         carry = (int) ((c < 0 ? -c : c) % A);
+109 
+110         // Initial state.
+111         System.arraycopy(tmp, 1, state, 0, Q_SIZE);
+112 
+113         // Initial index.
+114         index = Q_SIZE;
+115     }
+116 
+117     /** {@inheritDoc} */
+118     @Override
+119     public int next() {
+120         if (index == Q_SIZE) { // Whole state used up.
+121             // Refill.
+122             for (int i = 0; i < Q_SIZE; i++) {
+123                 final long t = A * (state[i] & 0xffffffffL) + carry;
+124                 carry = (int) (t >> 32);
+125                 state[i] = (int) t;
+126             }
+127 
+128             // Reset current index.
+129             index = 0;
+130         }
+131 
+132         return state[index++];
+133     }
+134 }
+
+
+ + + \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-frame.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-frame.html Fri Sep 2 16:37:56 2016 @@ -31,9 +31,15 @@ JDKRandom
  • + KISSRandom +
  • +
  • MersenneTwister
  • + MultiplyWithCarry256 +
  • +
  • RandomIntSource
  • Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-summary.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source32/package-summary.html Fri Sep 2 16:37:56 2016 @@ -62,10 +62,20 @@ + KISSRandom + + + + MersenneTwister + + MultiplyWithCarry256 + + + RandomIntSource Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source64/MersenneTwister64.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source64/MersenneTwister64.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/source64/MersenneTwister64.html Fri Sep 2 16:37:56 2016 @@ -123,86 +123,90 @@ 115 } 116 117 /** -118 * Reinitializes the generator as if just built with the given seed. +118 * Initializes the generator with the given seed. 119 * 120 * @param seed Initial seed. 121 */ 122 private void setSeedInternal(long[] seed) { -123 initState(19650218L); -124 -125 int i = 1; -126 int j = 0; +123 if (seed.length == 0) { +124 // Accept empty seed. +125 seed = new long[1]; +126 } 127 -128 for (int k = Math.max(NN, seed.length); k != 0; k--) { -129 final long mm1 = mt[i - 1]; -130 mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x369dea0f31a53f85L)) + seed[j] + j; // non linear -131 i++; -132 j++; -133 if (i >= NN) { -134 mt[0] = mt[NN - 1]; -135 i = 1; -136 } -137 if (j >= seed.length) { -138 j = 0; -139 } -140 } -141 for (int k = NN - 1; k != 0; k--) { -142 final long mm1 = mt[i - 1]; -143 mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x27bb2ee687b0b0fdL)) - i; // non linear -144 i++; -145 if (i >= NN) { -146 mt[0] = mt[NN - 1]; -147 i = 1; -148 } -149 } -150 -151 mt[0] = 0x8000000000000000L; // MSB is 1; assuring non-zero initial array -152 } -153 -154 /** -155 * Initialize the internal state of this instance. -156 * -157 * @param seed Seed. -158 */ -159 private void initState(long seed) { -160 mt[0] = seed; -161 for (mti = 1; mti < NN; mti++) { -162 final long mm1 = mt[mti - 1]; -163 mt[mti] = 0x5851f42d4c957f2dL * (mm1 ^ (mm1 >>> 62)) + mti; -164 } -165 } -166 -167 /** {@inheritDoc} */ -168 @Override -169 public long next() { -170 long x; -171 -172 if (mti >= NN) { // generate NN words at one time -173 for (int i = 0; i < NN - MM; i++) { -174 x = (mt[i] & UM) | (mt[i + 1] & LM); -175 mt[i] = mt[i + MM] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; -176 } -177 for (int i = NN - MM; i < NN - 1; i++) { +128 initState(19650218L); +129 int i = 1; +130 int j = 0; +131 +132 for (int k = Math.max(NN, seed.length); k != 0; k--) { +133 final long mm1 = mt[i - 1]; +134 mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x369dea0f31a53f85L)) + seed[j] + j; // non linear +135 i++; +136 j++; +137 if (i >= NN) { +138 mt[0] = mt[NN - 1]; +139 i = 1; +140 } +141 if (j >= seed.length) { +142 j = 0; +143 } +144 } +145 for (int k = NN - 1; k != 0; k--) { +146 final long mm1 = mt[i - 1]; +147 mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x27bb2ee687b0b0fdL)) - i; // non linear +148 i++; +149 if (i >= NN) { +150 mt[0] = mt[NN - 1]; +151 i = 1; +152 } +153 } +154 +155 mt[0] = 0x8000000000000000L; // MSB is 1; assuring non-zero initial array +156 } +157 +158 /** +159 * Initialize the internal state of this instance. +160 * +161 * @param seed Seed. +162 */ +163 private void initState(long seed) { +164 mt[0] = seed; +165 for (mti = 1; mti < NN; mti++) { +166 final long mm1 = mt[mti - 1]; +167 mt[mti] = 0x5851f42d4c957f2dL * (mm1 ^ (mm1 >>> 62)) + mti; +168 } +169 } +170 +171 /** {@inheritDoc} */ +172 @Override +173 public long next() { +174 long x; +175 +176 if (mti >= NN) { // generate NN words at one time +177 for (int i = 0; i < NN - MM; i++) { 178 x = (mt[i] & UM) | (mt[i + 1] & LM); -179 mt[i] = mt[ i + (MM - NN)] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; +179 mt[i] = mt[i + MM] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; 180 } -181 -182 x = (mt[NN - 1] & UM) | (mt[0] & LM); -183 mt[NN - 1] = mt[MM - 1] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; -184 -185 mti = 0; -186 } -187 -188 x = mt[mti++]; -189 -190 x ^= (x >>> 29) & 0x5555555555555555L; -191 x ^= (x << 17) & 0x71d67fffeda60000L; -192 x ^= (x << 37) & 0xfff7eee000000000L; -193 x ^= x >>> 43; -194 -195 return x; -196 } -197 } +181 for (int i = NN - MM; i < NN - 1; i++) { +182 x = (mt[i] & UM) | (mt[i + 1] & LM); +183 mt[i] = mt[ i + (MM - NN)] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; +184 } +185 +186 x = (mt[NN - 1] & UM) | (mt[0] & LM); +187 mt[NN - 1] = mt[MM - 1] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)]; +188 +189 mti = 0; +190 } +191 +192 x = mt[mti++]; +193 +194 x ^= (x >>> 29) & 0x5555555555555555L; +195 x ^= (x << 17) & 0x71d67fffeda60000L; +196 x ^= (x << 37) & 0xfff7eee000000000L; +197 x ^= x >>> 43; +198 +199 return x; +200 } +201 }
    Added: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2IntArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2IntArray.html (added) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2IntArray.html Fri Sep 2 16:37:56 2016 @@ -0,0 +1,52 @@ + + + +ByteArray2IntArray xref + + + +
    +1   /*
    +2    * Licensed to the Apache Software Foundation (ASF) under one or more
    +3    * contributor license agreements.  See the NOTICE file distributed with
    +4    * this work for additional information regarding copyright ownership.
    +5    * The ASF licenses this file to You under the Apache License, Version 2.0
    +6    * (the "License"); you may not use this file except in compliance with
    +7    * the License.  You may obtain a copy of the License at
    +8    *
    +9    *      http://www.apache.org/licenses/LICENSE-2.0
    +10   *
    +11   * Unless required by applicable law or agreed to in writing, software
    +12   * distributed under the License is distributed on an "AS IS" BASIS,
    +13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +14   * See the License for the specific language governing permissions and
    +15   * limitations under the License.
    +16   */
    +17  package org.apache.commons.rng.internal.util;
    +18  
    +19  import java.util.Arrays;
    +20  
    +21  /**
    +22   * Creates a {@code int[]} from a {@code byte[]}.
    +23   *
    +24   * @since 1.0
    +25   */
    +26  public class ByteArray2IntArray implements SeedConverter<byte[], int[]> {
    +27      /** Number of bytes in an {@code int}. */
    +28      private static final int INT_SIZE = 4;
    +29  
    +30      /** {@inheritDoc} */
    +31      @Override
    +32      public int[] convert(byte[] seed) {
    +33          final byte[] tmp = seed.length % INT_SIZE == 0 ?
    +34              seed :
    +35              Arrays.copyOf(seed, INT_SIZE * ((seed.length + INT_SIZE - 1) / INT_SIZE));
    +36  
    +37          return NumberFactory.makeIntArray(tmp);
    +38      }
    +39  }
    +
    +
    + + + \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2IntArray.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2LongArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2LongArray.html (added) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2LongArray.html Fri Sep 2 16:37:56 2016 @@ -0,0 +1,52 @@ + + + +ByteArray2LongArray xref + + + +
    +1   /*
    +2    * Licensed to the Apache Software Foundation (ASF) under one or more
    +3    * contributor license agreements.  See the NOTICE file distributed with
    +4    * this work for additional information regarding copyright ownership.
    +5    * The ASF licenses this file to You under the Apache License, Version 2.0
    +6    * (the "License"); you may not use this file except in compliance with
    +7    * the License.  You may obtain a copy of the License at
    +8    *
    +9    *      http://www.apache.org/licenses/LICENSE-2.0
    +10   *
    +11   * Unless required by applicable law or agreed to in writing, software
    +12   * distributed under the License is distributed on an "AS IS" BASIS,
    +13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +14   * See the License for the specific language governing permissions and
    +15   * limitations under the License.
    +16   */
    +17  package org.apache.commons.rng.internal.util;
    +18  
    +19  import java.util.Arrays;
    +20  
    +21  /**
    +22   * Creates a {@code long[]} from a {@code byte[]}.
    +23   *
    +24   * @since 1.0
    +25   */
    +26  public class ByteArray2LongArray implements SeedConverter<byte[], long[]> {
    +27      /** Number of bytes in a {@code long}. */
    +28      private static final int LONG_SIZE = 8;
    +29  
    +30      /** {@inheritDoc} */
    +31      @Override
    +32      public long[] convert(byte[] seed) {
    +33          final byte[] tmp = seed.length % LONG_SIZE == 0 ?
    +34              seed :
    +35              Arrays.copyOf(seed, LONG_SIZE * ((seed.length + LONG_SIZE - 1) / LONG_SIZE));
    +36  
    +37          return NumberFactory.makeLongArray(tmp);
    +38      }
    +39  }
    +
    +
    + + + \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/ByteArray2LongArray.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Int2Long.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Int2Long.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Int2Long.html Fri Sep 2 16:37:56 2016 @@ -36,13 +36,7 @@ 28 final int s = seed; 29 return NumberFactory.makeLong(s, ~s); 30 } -31 -32 /** {@inheritDoc} */ -33 @Override -34 public String toString() { -35 return getClass().getSimpleName(); -36 } -37 } +31 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2Int.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2Int.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2Int.html Fri Sep 2 16:37:56 2016 @@ -40,13 +40,7 @@ 32 33 return out; 34 } -35 -36 /** {@inheritDoc} */ -37 @Override -38 public String toString() { -39 return getClass().getSimpleName(); -40 } -41 } +35 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2LongArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2LongArray.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/IntArray2LongArray.html Fri Sep 2 16:37:56 2016 @@ -43,13 +43,7 @@ 35 36 return out; 37 } -38 -39 /** {@inheritDoc} */ -40 @Override -41 public String toString() { -42 return getClass().getSimpleName(); -43 } -44 } +38 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2Int.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2Int.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2Int.html Fri Sep 2 16:37:56 2016 @@ -35,13 +35,7 @@ 27 public Integer convert(Long seed) { 28 return NumberFactory.makeInt(seed); 29 } -30 -31 /** {@inheritDoc} */ -32 @Override -33 public String toString() { -34 return getClass().getSimpleName(); -35 } -36 } +30 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2IntArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2IntArray.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2IntArray.html Fri Sep 2 16:37:56 2016 @@ -49,13 +49,7 @@ 41 public int[] convert(Long seed) { 42 return SeedFactory.createIntArray(size, new SplitMix64(seed)); 43 } -44 -45 /** {@inheritDoc} */ -46 @Override -47 public String toString() { -48 return getClass().getSimpleName() + "(size=" + size + ")"; -49 } -50 } +44 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2LongArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2LongArray.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/Long2LongArray.html Fri Sep 2 16:37:56 2016 @@ -55,13 +55,7 @@ 47 48 return out; 49 } -50 -51 /** {@inheritDoc} */ -52 @Override -53 public String toString() { -54 return getClass().getSimpleName() + "(size: " + size + ")"; -55 } -56 } +50 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2IntArray.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2IntArray.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2IntArray.html Fri Sep 2 16:37:56 2016 @@ -42,13 +42,7 @@ 34 35 return out; 36 } -37 -38 /** {@inheritDoc} */ -39 @Override -40 public String toString() { -41 return getClass().getSimpleName(); -42 } -43 } +37 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2Long.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2Long.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/LongArray2Long.html Fri Sep 2 16:37:56 2016 @@ -40,13 +40,7 @@ 32 33 return out; 34 } -35 -36 /** {@inheritDoc} */ -37 @Override -38 public String toString() { -39 return getClass().getSimpleName(); -40 } -41 } +35 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/NoOpConverter.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/NoOpConverter.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/NoOpConverter.html Fri Sep 2 16:37:56 2016 @@ -39,13 +39,7 @@ 31 public SEED convert(SEED seed) { 32 return seed; 33 } -34 -35 /** {@inheritDoc} */ -36 @Override -37 public String toString() { -38 return "Pass-through"; -39 } -40 } +34 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/SeedConverterComposer.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/SeedConverterComposer.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/SeedConverterComposer.html Fri Sep 2 16:37:56 2016 @@ -55,13 +55,7 @@ 47 final TRANS trans = first.convert(seed); 48 return second.convert(trans); 49 } -50 -51 /** {@inheritDoc} */ -52 @Override -53 public String toString() { -54 return getClass().getSimpleName() + " (" + second + " o " + first + ")"; -55 } -56 } +50 }
    Modified: websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/package-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/package-frame.html (original) +++ websites/production/commons/content/proper/commons-rng/xref/org/apache/commons/rng/internal/util/package-frame.html Fri Sep 2 16:37:56 2016 @@ -16,6 +16,12 @@