object NonRandomDataSource extends RandomDataSource
Source producing non-random data.
- Alphabetic
- By Inheritance
- NonRandomDataSource
- RandomDataSource
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRandom: Boolean
Tell whether the class actually produces random data.
Tell whether the class actually produces random data. If not,
nextBoolean
will always returnfalse
,nextInt
will always return0
.- Definition Classes
- NonRandomDataSource → RandomDataSource
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextBoolean: Boolean
Produce a random Boolean value.
Produce a random Boolean value.
- Definition Classes
- NonRandomDataSource → RandomDataSource
- def nextInt(bound: Int): Int
Produce a random integer value in the range
[0, bound)
.Produce a random integer value in the range
[0, bound)
.- Definition Classes
- NonRandomDataSource → RandomDataSource
- def nextInt: Int
Produce a random integer value.
Produce a random integer value.
- Definition Classes
- NonRandomDataSource → RandomDataSource
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def pick[A](objects: IndexedSeq[A]): A
Pick a random elements of the given sequence.
Pick a random elements of the given sequence.
- Definition Classes
- RandomDataSource
- def shuffle[A](seq: Buffer[A]): Unit
Shuffle the given buffer
Shuffle the given buffer
- Definition Classes
- RandomDataSource
- def shuffleSeq[A](seq: Seq[A]): Seq[A]
Shuffle the given sequence
Shuffle the given sequence
- Definition Classes
- RandomDataSource
- def shuffleWithPerm[A](seq: Buffer[A]): Seq[Int]
Shuffle the given sequence, and return the new ordering
Shuffle the given sequence, and return the new ordering
- Definition Classes
- RandomDataSource
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)