Class

com.salesforce.op.testkit

StandardRandomData

Related Doc: package testkit

Permalink

abstract class StandardRandomData[FT <: FeatureType] extends FeatureFactoryOwner[FT] with RandomData[FT]

Data generator that uses standard Random

Linear Supertypes
RandomData[FT], PartiallyDefined, InfiniteStream[FT], Serializable, Serializable, Iterator[FT], TraversableOnce[FT], GenTraversableOnce[FT], FeatureFactoryOwner[FT], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardRandomData
  2. RandomData
  3. PartiallyDefined
  4. InfiniteStream
  5. Serializable
  6. Serializable
  7. Iterator
  8. TraversableOnce
  9. GenTraversableOnce
  10. FeatureFactoryOwner
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandardRandomData(sourceOfData: RandomStream[FT.Value])(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[FT])

    Permalink

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]

    Permalink
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: FT](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  4. def /:[B](z: B)(op: (B, FT) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  5. def :\[B](z: B)(op: (FT, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  8. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  9. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  10. def aggregate[B](z: ⇒ B)(seqop: (B, FT) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def buffered: BufferedIterator[FT]

    Permalink
    Definition Classes
    Iterator
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collect[B](pf: PartialFunction[FT, B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  15. def collectFirst[B](pf: PartialFunction[FT, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  16. def contains(elem: Any): Boolean

    Permalink
    Definition Classes
    Iterator
  17. def copyToArray[B >: FT](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  18. def copyToArray[B >: FT](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. def copyToArray[B >: FT](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. def copyToBuffer[B >: FT](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  21. def corresponds[B](that: GenTraversableOnce[B])(p: (FT, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator
  22. def count(p: (FT) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def drop(n: Int): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  24. def dropWhile(p: (FT) ⇒ Boolean): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  25. def duplicate: (Iterator[FT], Iterator[FT])

    Permalink
    Definition Classes
    Iterator
  26. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  28. def exists(p: (FT) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  29. def filter(p: (FT) ⇒ Boolean): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  30. def filterNot(p: (FT) ⇒ Boolean): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  31. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def find(p: (FT) ⇒ Boolean): Option[FT]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  33. def flatMap[B](f: (FT) ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  34. def fold[A1 >: FT](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def foldLeft[B](z: B)(op: (B, FT) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def foldRight[B](z: B)(op: (FT, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def forall(p: (FT) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  38. def foreach[U](f: (FT) ⇒ U): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  39. val ftFactory: FeatureTypeFactory[FT]

    Permalink
    Attributes
    protected
    Definition Classes
    FeatureFactoryOwner
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def grouped[B >: FT](size: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  42. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  43. def hasNext: Boolean

    Permalink

    Tell whether there is a next value.

    Tell whether there is a next value. The stream is infinite, the answer is Yes.

    returns

    true

    Definition Classes
    InfiniteStream → Iterator
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. def indexOf[B >: FT](elem: B): Int

    Permalink
    Definition Classes
    Iterator
  46. def indexWhere(p: (FT) ⇒ Boolean): Int

    Permalink
    Definition Classes
    Iterator
  47. def isEmpty: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  48. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  49. def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  50. def length: Int

    Permalink
    Definition Classes
    Iterator
  51. def limit(n: Int): List[FT]

    Permalink

    Produces a list of n values

    Produces a list of n values

    n

    the number of values

    returns

    a list of values

    Definition Classes
    InfiniteStream
  52. def map[U](f: (FT) ⇒ U): InfiniteStream[U]

    Permalink

    Transforms this stream to the stream of values of type U, by mapping

    Transforms this stream to the stream of values of type U, by mapping

    U

    the type of result of f

    f

    the function that transforms data

    returns

    another InfiniteStream, with values produced by applying f

    Definition Classes
    InfiniteStream → Iterator
  53. def max[B >: FT](implicit cmp: Ordering[B]): FT

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def maxBy[B](f: (FT) ⇒ B)(implicit cmp: Ordering[B]): FT

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def min[B >: FT](implicit cmp: Ordering[B]): FT

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def minBy[B](f: (FT) ⇒ B)(implicit cmp: Ordering[B]): FT

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  61. def next(): FT

    Permalink
    Definition Classes
    RandomData → Iterator
  62. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  65. def padTo[A1 >: FT](len: Int, elem: A1): Iterator[A1]

    Permalink
    Definition Classes
    Iterator
  66. def partition(p: (FT) ⇒ Boolean): (Iterator[FT], Iterator[FT])

    Permalink
    Definition Classes
    Iterator
  67. def patch[B >: FT](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  68. def product[B >: FT](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def reduce[A1 >: FT](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def reduceLeft[B >: FT](op: (B, FT) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  71. def reduceLeftOption[B >: FT](op: (B, FT) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def reduceOption[A1 >: FT](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def reduceRight[B >: FT](op: (FT, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def reduceRightOption[B >: FT](op: (FT, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reset(seed: Long): Unit

    Permalink

    Reset this generator, by, say, seeding your rng(s)

    Reset this generator, by, say, seeding your rng(s)

    seed

    the seed

    returns

    this instance

    Definition Classes
    StandardRandomDataRandomData
  76. def reversed: List[FT]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  77. val rng: Random

    Permalink

    Random numbers generator used for a variety of purposes; not necessarily the values

    Random numbers generator used for a variety of purposes; not necessarily the values

    returns

    the generator, standard scala.util.Random

    Attributes
    protected
    Definition Classes
    RandomData
  78. def sameElements(that: Iterator[_]): Boolean

    Permalink
    Definition Classes
    Iterator
  79. def scanLeft[B](z: B)(op: (B, FT) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  80. def scanRight[B](z: B)(op: (FT, B) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  81. def seq: Iterator[FT]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  82. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def skip: Boolean

    Permalink

    A flag that tells whether we should skip the value and build an empty instead It's overridden in ProbabilityOfEmpty trait

    A flag that tells whether we should skip the value and build an empty instead It's overridden in ProbabilityOfEmpty trait

    returns

    true if skip

    Definition Classes
    PartiallyDefined
  84. def slice(from: Int, until: Int): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  85. def sliding[B >: FT](size: Int, step: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  86. def span(p: (FT) ⇒ Boolean): (Iterator[FT], Iterator[FT])

    Permalink
    Definition Classes
    Iterator
  87. def streamOfValues: InfiniteStream[FT.Value]

    Permalink

    Infinite stream of values produced by sourceOfData when given the rng

    Infinite stream of values produced by sourceOfData when given the rng

    returns

    a stream of random data

    Definition Classes
    StandardRandomDataRandomData
  88. def sum[B >: FT](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  90. def take(n: Int): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  91. def takeWhile(p: (FT) ⇒ Boolean): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  92. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, FT, Col[FT]]): Col[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toArray[B >: FT](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toBuffer[B >: FT]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toIndexedSeq: IndexedSeq[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toIterable: Iterable[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def toIterator: Iterator[FT]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  98. def toList: List[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toMap[T, U](implicit ev: <:<[FT, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def toSeq: Seq[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def toSet[B >: FT]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def toStream: Stream[FT]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  103. def toString(): String

    Permalink
    Definition Classes
    Iterator → AnyRef → Any
  104. def toTraversable: Traversable[FT]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  105. def toVector: Vector[FT]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  107. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. def withFilter(p: (FT) ⇒ Boolean): Iterator[FT]

    Permalink
    Definition Classes
    Iterator
  110. def zip[B](that: Iterator[B]): Iterator[(FT, B)]

    Permalink
    Definition Classes
    Iterator
  111. def zipAll[B, A1 >: FT, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Permalink
    Definition Classes
    Iterator
  112. def zipWithIndex: Iterator[(FT, Int)]

    Permalink
    Definition Classes
    Iterator

Inherited from RandomData[FT]

Inherited from PartiallyDefined

Inherited from InfiniteStream[FT]

Inherited from Serializable

Inherited from Serializable

Inherited from Iterator[FT]

Inherited from TraversableOnce[FT]

Inherited from GenTraversableOnce[FT]

Inherited from FeatureFactoryOwner[FT]

Inherited from AnyRef

Inherited from Any

Ungrouped