Class ThreadLocalRandom

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Random get()
      Gets a thread-local random number generator instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        @NotNull
        public static java.util.Random get()
        Gets a thread-local random number generator instance.
        Returns:
        A thread-local random number generator instance.