@Test public void testRandomLongs() { assertEquals(15, new RandomCompat(1).longs().skip(20).limit(15).count()); }
@NotNull public LongStream longs(long streamSize) { if (streamSize < 0L) throw new IllegalArgumentException(); if (streamSize == 0L) { return LongStream.empty(); } return longs().limit(streamSize); }
RandomCompat { @NotNull public LongStream longs(long streamSize) { if (streamSize < 0L) throw new IllegalArgumentException(); if (streamSize == 0L) { return LongStream.empty(); } return longs().limit(streamSize); } }
RandomCompat { @NotNull public LongStream longs(long streamSize) { if (streamSize < 0L) throw new IllegalArgumentException(); if (streamSize == 0L) { return LongStream.empty(); } return longs().limit(streamSize); } RandomCompat();  RandomCompat(long seed);  RandomCompat(@NotNull Random random); }
RandomCompat { @NotNull public LongStream longs(long streamSize) { if (streamSize < 0L) throw new IllegalArgumentException(); if (streamSize == 0L) { return LongStream.empty(); } return longs().limit(streamSize); } RandomCompat();  RandomCompat(long seed);  RandomCompat(@NotNull Random random); @NotNull Random getRandom(); @NotNull IntStream ints(long streamSize); @NotNull LongStream longs(long streamSize); @NotNull DoubleStream doubles(long streamSize); @NotNull IntStream ints(); @NotNull LongStream longs(); @NotNull DoubleStream doubles(); @NotNull IntStream ints(long streamSize, final int randomNumberOrigin, final int randomNumberBound); @NotNull LongStream longs(long streamSize,
            final long randomNumberOrigin, final long randomNumberBound); @NotNull DoubleStream doubles(long streamSize,
            final double randomNumberOrigin, final double randomNumberBound); @NotNull IntStream ints(final int randomNumberOrigin, final int randomNumberBound); @NotNull LongStream longs(final long randomNumberOrigin, final long randomNumberBound); @NotNull DoubleStream doubles(final double randomNumberOrigin, final double randomNumberBound); }
RandomCompat { @NotNull public LongStream longs(long streamSize) { if (streamSize < 0L) throw new IllegalArgumentException(); if (streamSize == 0L) { return LongStream.empty(); } return longs().limit(streamSize); } RandomCompat();  RandomCompat(long seed);  RandomCompat(@NotNull Random random); @NotNull Random getRandom(); @NotNull IntStream ints(long streamSize); @NotNull LongStream longs(long streamSize); @NotNull DoubleStream doubles(long streamSize); @NotNull IntStream ints(); @NotNull LongStream longs(); @NotNull DoubleStream doubles(); @NotNull IntStream ints(long streamSize, final int randomNumberOrigin, final int randomNumberBound); @NotNull LongStream longs(long streamSize,
            final long randomNumberOrigin, final long randomNumberBound); @NotNull DoubleStream doubles(long streamSize,
            final double randomNumberOrigin, final double randomNumberBound); @NotNull IntStream ints(final int randomNumberOrigin, final int randomNumberBound); @NotNull LongStream longs(final long randomNumberOrigin, final long randomNumberBound); @NotNull DoubleStream doubles(final double randomNumberOrigin, final double randomNumberBound);  }