Example #1
0
 /**
  * Clones the current generator and return its copy.
  *
  * @return A deep copy of the current generator
  */
 public GenF2w32 clone() {
   GenF2w32 retour = null;
   retour = (GenF2w32) super.clone();
   retour.state = new int[R];
   retour.substream = new int[R];
   retour.stream = new int[R];
   for (int i = 0; i < R; i++) {
     retour.state[i] = state[i];
     retour.substream[i] = substream[i];
     retour.stream[i] = stream[i];
   }
   return retour;
 }