1 /* 2 * License : The MIT License 3 * Copyright(c) 2022 olyutorskii 4 */ 5 6 package io.github.olyutorskii.aletojio.rng; 7 8 /** 9 * 64bit Random number generator. 10 * 11 * <p>INFO : {@code java.util.random.RandomGenerator#nextLong()} added since JDK17 or later. 12 * 13 * @see java.util.Random#nextLong() 14 */ 15 public interface RndInt64 { 16 17 /** 18 * Return next random number as 64bit long with random sign-bit. 19 * 20 * @return random number 21 */ 22 public abstract long nextInt64(); 23 24 }