object Chooser
Provides Chooser instances for all of the major numeric types in the Scala Standard Library and Scalactic.
All of the instances provided here are simply shells over functions in Randomizer, but there is nothing sacred about that -- your own instances should use that for randomization, but will not usually be direct calls to its built-in "choose" functions.
- Source
- Chooser.scala
- Alphabetic
- By Inheritance
- Chooser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val byteChooser: Chooser[Byte]
- implicit val charChooser: Chooser[Char]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val doubleChooser: Chooser[Double]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit val finiteDoubleChooser: Chooser[FiniteDouble]
- implicit val finiteFloatChooser: Chooser[FiniteFloat]
- implicit val floatChooser: Chooser[Float]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit val intChooser: Chooser[Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val longChooser: Chooser[Long]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val negDoubleChooser: Chooser[NegDouble]
- implicit val negFiniteDoubleChooser: Chooser[NegFiniteDouble]
- implicit val negFiniteFloatChooser: Chooser[NegFiniteFloat]
- implicit val negFloatChooser: Chooser[NegFloat]
- implicit val negIntChooser: Chooser[NegInt]
- implicit val negLongChooser: Chooser[NegLong]
- implicit val negZDoubleChooser: Chooser[NegZDouble]
- implicit val negZFiniteDoubleChooser: Chooser[NegZFiniteDouble]
- implicit val negZFiniteFloatChooser: Chooser[NegZFiniteFloat]
- implicit val negZFloatChooser: Chooser[NegZFloat]
- implicit val negZIntChooser: Chooser[NegZInt]
- implicit val negZLongChooser: Chooser[NegZLong]
- implicit val nonZeroDoubleChooser: Chooser[NonZeroDouble]
- implicit val nonZeroFiniteDoubleChooser: Chooser[NonZeroFiniteDouble]
- implicit val nonZeroFiniteFloatChooser: Chooser[NonZeroFiniteFloat]
- implicit val nonZeroFloatChooser: Chooser[NonZeroFloat]
- implicit val nonZeroIntChooser: Chooser[NonZeroInt]
- implicit val nonZeroLongChooser: Chooser[NonZeroLong]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val posDoubleChooser: Chooser[PosDouble]
- implicit val posFiniteDoubleChooser: Chooser[PosFiniteDouble]
- implicit val posFiniteFloatChooser: Chooser[PosFiniteFloat]
- implicit val posFloatChooser: Chooser[PosFloat]
- implicit val posIntChooser: Chooser[PosInt]
- implicit val posLongChooser: Chooser[PosLong]
- implicit val posZDoubleChooser: Chooser[PosZDouble]
- implicit val posZFiniteDoubleChooser: Chooser[PosZFiniteDouble]
- implicit val posZFiniteFloatChooser: Chooser[PosZFiniteFloat]
- implicit val posZFloatChooser: Chooser[PosZFloat]
- implicit val posZIntChooser: Chooser[PosZInt]
- implicit val posZLongChooser: Chooser[PosZLong]
- implicit val shortChooser: Chooser[Short]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()