Skip to content

Commit

Permalink
Open RandomValues API (for extensions of ValueProvider)
Browse files Browse the repository at this point in the history
Issue #12

Signed-off-by: Jonas Höf <[email protected]>
  • Loading branch information
jonashoef committed Oct 1, 2021
1 parent 95d14ed commit 349a03e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ public boolean equals(Object obj) {
return seed == other.seed;
}

boolean nextBoolean() {
public boolean nextBoolean() {
return random.nextBoolean();
}

int nextInt(int bound) {
public int nextInt(int bound) {
return random.nextInt(bound);
}

double nextDouble() {
public double nextDouble() {
return random.nextDouble();
}

long nextLong() {
public long nextLong() {
return random.nextLong();
}
}

0 comments on commit 349a03e

Please sign in to comment.