Java Tutorial Random

API

  1. Java Random() Constructor
  2. Java Random(long seed) Constructor
  3. Java Random.next(int bits)
  4. Java Random.nextBoolean()
  5. Java Random.nextBytes(byte[] bytes)
  6. Java Random.nextDouble()
  7. Java Random.nextFloat()
  8. Java Random.nextGaussian()
  9. Java Random.nextInt()
  10. Java Random.nextInt(int n)
  11. Java Random.nextLong()
  12. Java Random.setSeed(long seed)