@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
13 lines • 439 B
TypeScript
/**
* Can generate random numbers from a user-defined seed.
*/
export default class Random {
static readonly RANDOM_CLASS = "java.util.Random";
private javaRandom;
constructor(seed?: number);
/**
* @returns The next pseudorandom, a uniformly distributed value between 0.0 (inclusive) and 1.0 (exclusive) from this random number generator's sequence.
*/
next(): number;
}
//# sourceMappingURL=Random.d.ts.map