Class TThreadLocalRandom

java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TRandom
org.teavm.classlib.java.util.concurrent.TThreadLocalRandom
All Implemented Interfaces:
TSerializable

public class TThreadLocalRandom extends TRandom
  • Method Details

    • current

      public static TThreadLocalRandom current()
    • setSeed

      public void setSeed(long seed)
      Overrides:
      setSeed in class TRandom
    • nextInt

      public int nextInt(int origin, int bound)
    • nextLong

      public long nextLong(long bound)
    • nextLong

      public long nextLong(long origin, long bound)
    • nextDouble

      public double nextDouble(double bound)
    • nextDouble

      public double nextDouble(double origin, double bound)