Packages

object Random

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Random
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[F[_]](implicit ev: Random[F]): Random[F]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def javaSecuritySecureRandom[F[_]](implicit arg0: Sync[F]): F[Random[F]]
  13. def javaSecuritySecureRandom[F[_]](n: Int)(implicit arg0: Sync[F]): F[Random[F]]
  14. def javaUtilConcurrentThreadLocalRandom[F[_]](implicit arg0: Sync[F]): Random[F]
  15. def javaUtilRandom[F[_]](random: java.util.Random)(implicit arg0: Sync[F]): F[Random[F]]

    Lift Java Random to this algebra.

    Lift Java Random to this algebra. Note: this implies the ability for external locations to manipulate the underlying state without referential transparency.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def scalaUtilRandom[F[_]](implicit arg0: Sync[F]): F[Random[F]]

    Creates a new random number generator

  20. def scalaUtilRandomN[F[_]](n: Int)(implicit arg0: Sync[F]): F[Random[F]]

    Creates Several Random Number Generators and equally allocates the load across those instances.

    Creates Several Random Number Generators and equally allocates the load across those instances.

    From the java class docs: https://docs.oracle.com/javase/8/docs/api/java/util/Random.html#java.util.Random

    Instances of java.util.Random are threadsafe. However, the concurrent use of the same java.util.Random instance across threads may encounter contention and consequent poor performance. Consider instead using ThreadLocalRandom in multithreaded designs.

  21. def scalaUtilRandomSeedInt[F[_]](seed: Int)(implicit arg0: Sync[F]): F[Random[F]]

    Creates a new random number generator using a single integer seed.

  22. def scalaUtilRandomSeedLong[F[_]](seed: Long)(implicit arg0: Sync[F]): F[Random[F]]

    Creates a new random number generator using a single long seed.

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped