예제 #1
0
 /* We're overriding all internal data, to my knowledge, so this should be okay */
 public Object clone() throws CloneNotSupportedException {
   MersenneTwisterFast f = (MersenneTwisterFast) (super.clone());
   f.mt = (int[]) (mt.clone());
   f.mag01 = (int[]) (mag01.clone());
   return f;
 }