MCPcopy Create free account
hub / github.com/questdb/questdb / nextInt

Method nextInt

core/src/main/java/io/questdb/std/Rnd.java:324–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 }
323
324 public int nextInt() {
325 return (int) nextLong();
326 }
327
328 public int nextInt(int boundary) {
329 return nextPositiveInt() % boundary;

Calls 2

nextLongMethod · 0.95
nextPositiveIntMethod · 0.95