Module java.base
Package java.util

# Class Random

=
public class Random
extends java.lang.Object
implements java.io.Serializable, java.util.random.RandomGenerator

## Constructors

- =
  public Random()
- =
  public Random(long arg0)

## Methods

- =
  public java.util.stream.DoubleStream doubles()
- =
  public java.util.stream.DoubleStream doubles(long arg0)
- =
  public java.util.stream.DoubleStream doubles(long arg0, double arg1, double arg2)
- =
  public java.util.stream.DoubleStream doubles(double arg0, double arg1)
- =
  public static java.util.Random from(java.util.random.RandomGenerator arg0)
- =
  public java.util.stream.IntStream ints()
- =
  public java.util.stream.IntStream ints(int arg0, int arg1)
- =
  public java.util.stream.IntStream ints(long arg0)
- =
  public java.util.stream.IntStream ints(long arg0, int arg1, int arg2)
- =
  public java.util.stream.LongStream longs()
- =
  public java.util.stream.LongStream longs(long arg0)
- =
  public java.util.stream.LongStream longs(long arg0, long arg1)
- =
  public java.util.stream.LongStream longs(long arg0, long arg1, long arg2)
- =
  protected int next(int arg0)
- =
  public boolean nextBoolean()
- =
  public void nextBytes(byte[] arg0)
- =
  public double nextDouble()
- =
  public float nextFloat()
- =
  public double nextGaussian()
- =
  public int nextInt()
- =
  public int nextInt(int arg0)
- =
  public long nextLong()
- =
  public void setSeed(long arg0)

## Serialized Form

=

### serialVersionUID

=3905348978240129619

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.