Searched defs:nextLong (Results 1 - 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
H A D | PrimitiveIterator.java | 168 long nextLong(); method in interface:PrimitiveIterator.OfLong 180 * action.accept(nextLong()); 189 action.accept(nextLong()); 196 * {@link #nextLong()}, and returns that boxed result. 201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()"); 202 return nextLong(); 274 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfDouble.nextLong()");
|
H A D | Random.java | 236 * The form of nextLong used by LongStream Spliterators. If 238 * nextLong, else as bounded form. 245 long r = nextLong(); 253 u = nextLong() >>> 1) // retry 259 r = nextLong(); 406 * contract of {@code nextLong} is that one {@code long} value is 409 * <p>The method {@code nextLong} is implemented by class {@code Random} 412 * public long nextLong() { 422 public long nextLong() { method in class:Random 738 * of calling the method {@link #nextLong()} [all...] |
H A D | SplittableRandom.java | 106 * Methods nextLong, nextInt, and derivatives do not return the 109 * For nextLong, the mix64 function is based on David Stafford's 257 * The form of nextLong used by LongStream Spliterators. If 259 * nextLong, else as bounded form. 270 * nextLong(). 276 * when the implicit nextLong() bound (2<sup>64</sup>) is not 349 double r = (nextLong() >>> 11) * DOUBLE_UNIT; 398 return new SplittableRandom(nextLong(), mixGamma(nextSeed())); 458 public long nextLong() { method in class:SplittableRandom 471 public long nextLong(lon method in class:SplittableRandom 499 public long nextLong(long origin, long bound) { method in class:SplittableRandom [all...] |
H A D | Scanner.java | 63 * long aLong = sc.nextLong(); 2147 * {@link #nextLong} method. The scanner does not advance past any input. 2160 * {@link #nextLong} method. The scanner does not advance past any input. 2187 * <tt>nextLong()</tt> behaves in exactly the same way as the 2188 * invocation <tt>nextLong(radix)</tt>, where <code>radix</code> 2198 public long nextLong() { method in class:Scanner 2199 return nextLong(defaultRadix); 2228 public long nextLong(int radix) { method in class:Scanner
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | PrimitiveIteratorTest.java | 61 public long nextLong() { method in class:PrimitiveIteratorTest.CannedLongIterator
|
H A D | SpliteratorsTest.java | 549 public long nextLong() { method in class:SpliteratorsTest.CannedLongPrimitiveIterator 821 assertEquals(2, it.nextLong());
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | EmulatedStackFrame.java | 396 writer.putNextLong(reader.nextLong()); 482 public long nextLong() { method in class:EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ThreadLocalRandom.java | 202 * The form of nextLong used by LongStream Spliterators. If 204 * nextLong, else as bounded form. 268 double r = (nextLong() >>> 11) * DOUBLE_UNIT; 333 public long nextLong() { method in class:ThreadLocalRandom 346 public long nextLong(long bound) { method in class:ThreadLocalRandom 373 public long nextLong(long origin, long bound) { method in class:ThreadLocalRandom
|
Completed in 219 milliseconds