code: public static Random getRNG(long... seed) {
      switch(_rngType) {
      case JavaRNG:      return new H2ORandomRNG(seed[0]);
      case XorShiftRNG:  return new XorShiftRNG (seed[0]);
      case PCGRNG:       return new PCGRNG      (seed[0],seed.length > 1 ? seed[1] : 1);
      case MersenneTwisterRNG:
        // Do not copy the seeds - use them, and initialize the first two ints by
        // seeds based given argument.  The call is locked, and also
        // MersenneTwisterRNG will just copy the seeds into its datastructures
        return new MersenneTwisterRNG(ArrayUtils.unpackInts(seed));
      }
      throw H2O.fail();
    }
docs: /* Returns the configured random generator