object Random extends RandomCompanionPlatform

Source
Random.scala
Linear Supertypes
RandomCompanionPlatform, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Random
  2. RandomCompanionPlatform
  3. AnyRef
  4. 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. implicit def catsEitherTRandom[F[_], L](implicit arg0: Random[F], arg1: Functor[F]): Random[[γ$0$]EitherT[F, L, γ$0$]]

    Random instance built for cats.data.EitherT values initialized with any F data type that also implements Random.

  7. implicit def catsIndexedReaderWriterStateTRandom[F[_], E, L, S](implicit arg0: Random[F], arg1: Applicative[F], arg2: Monoid[L]): Random[[ζ$6$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$6$]]

    Random instance built for cats.data.IndexedReaderWriterStateT values initialized with any F data type that also implements Random.

  8. implicit def catsIndexedStateTRandom[F[_], S](implicit arg0: Random[F], arg1: Applicative[F]): Random[[δ$3$]IndexedStateT[F, S, S, δ$3$]]

    Random instance built for cats.data.IndexedStateT values initialized with any F data type that also implements Random.

  9. implicit def catsIorTRandom[F[_], L](implicit arg0: Random[F], arg1: Functor[F]): Random[[γ$5$]IorT[F, L, γ$5$]]

    Random instance built for cats.data.IorT values initialized with any F data type that also implements Random.

  10. implicit def catsKleisliRandom[F[_], R](implicit arg0: Random[F]): Random[[γ$1$]Kleisli[F, R, γ$1$]]

    Random instance built for cats.data.Kleisli values initialized with any F data type that also implements Random.

  11. implicit def catsOptionTRandom[F[_]](implicit arg0: Random[F], arg1: Functor[F]): Random[[β$2$]OptionT[F, β$2$]]

    Random instance built for cats.data.OptionT values initialized with any F data type that also implements Random.

  12. implicit def catsWriterTRandom[F[_], L](implicit arg0: Random[F], arg1: Applicative[F], arg2: Monoid[L]): Random[[γ$4$]WriterT[F, L, γ$4$]]

    Random instance built for cats.data.WriterT values initialized with any F data type that also implements Random.

  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def javaUtilConcurrentThreadLocalRandom[F[_]](implicit arg0: kernel.Sync[F]): Random[F]
  21. def javaUtilRandom[F[_]](random: java.util.Random)(implicit arg0: kernel.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.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def scalaUtilRandom[F[_]](implicit arg0: kernel.Sync[F]): F[Random[F]]

    Creates a new random number generator

  26. def scalaUtilRandomN[F[_]](n: Int)(implicit arg0: kernel.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.

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

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

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

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

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def javaSecuritySecureRandom[F[_]](implicit arg0: kernel.Sync[F]): F[Random[F]]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.4.0) Call SecureRandom.javaSecuritySecureRandom

  2. def javaSecuritySecureRandom[F[_]](n: Int)(implicit arg0: kernel.Sync[F]): F[Random[F]]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.4.0) Call SecureRandom.javaSecuritySecureRandom

Inherited from RandomCompanionPlatform

Inherited from AnyRef

Inherited from Any

Ungrouped