@Test public void testLong() { final MersenneTwisterGenerateRandom rnd = new MersenneTwisterGenerateRandom(1); for (final long aLONG_TEST : LONG_TEST) { final long l = rnd.nextLong(); assertEquals(l, aLONG_TEST); } }
public long nextLong() { return ((long) next(32) << 32) + next(32); }
MersenneTwisterGenerateRandom extends AbstractBoxMuller { public long nextLong() { return ((long) next(32) << 32) + next(32); } }
MersenneTwisterGenerateRandom extends AbstractBoxMuller { public long nextLong() { return ((long) next(32) << 32) + next(32); } MersenneTwisterGenerateRandom();  MersenneTwisterGenerateRandom(final long seed);  MersenneTwisterGenerateRandom(final int[] array); }
MersenneTwisterGenerateRandom extends AbstractBoxMuller { public long nextLong() { return ((long) next(32) << 32) + next(32); } MersenneTwisterGenerateRandom();  MersenneTwisterGenerateRandom(final long seed);  MersenneTwisterGenerateRandom(final int[] array); void setSeed(final long seed); void setSeed(final int[] array); @Override double nextDouble(); long nextLong(); @Override boolean nextBoolean(); @Override float nextFloat(); @Override int nextInt(); }
MersenneTwisterGenerateRandom extends AbstractBoxMuller { public long nextLong() { return ((long) next(32) << 32) + next(32); } MersenneTwisterGenerateRandom();  MersenneTwisterGenerateRandom(final long seed);  MersenneTwisterGenerateRandom(final int[] array); void setSeed(final long seed); void setSeed(final int[] array); @Override double nextDouble(); long nextLong(); @Override boolean nextBoolean(); @Override float nextFloat(); @Override int nextInt();  }