/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
/** * <p>Returns the next pseudorandom, uniformly distributed long value * from the Math.random() sequence.</p> * Identical to <code>nextLong(Long.MAX_VALUE)</code> * <p> * <b>N.B. All values are >= 0.<b> * </p> * @return the random long */ public long nextLong() { return nextLong(Long.MAX_VALUE); }
when(mockedRandom.nextLong()).thenAnswer(invocation -> (currentValue++));