Class

com.salesforce.op.testkit.RandomList

NormalGeolocation

Related Doc: package RandomList

Permalink

case class NormalGeolocation(center: (Double, Double), accuracy: GeolocationAccuracy) extends FeatureFactoryOwner[Geolocation] with RandomData[Geolocation] with Product with Serializable

Random geolocation class. @see #ofGeolocations for usage.

Linear Supertypes
Product, Equals, RandomData[Geolocation], PartiallyDefined, InfiniteStream[Geolocation], Serializable, Serializable, Iterator[Geolocation], TraversableOnce[Geolocation], GenTraversableOnce[Geolocation], FeatureFactoryOwner[Geolocation], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NormalGeolocation
  2. Product
  3. Equals
  4. RandomData
  5. PartiallyDefined
  6. InfiniteStream
  7. Serializable
  8. Serializable
  9. Iterator
  10. TraversableOnce
  11. GenTraversableOnce
  12. FeatureFactoryOwner
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NormalGeolocation(center: (Double, Double), accuracy: GeolocationAccuracy)

    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 >: Geolocation](that: ⇒ GenTraversableOnce[B]): Iterator[B]

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  7. val accuracy: GeolocationAccuracy

    Permalink
  8. def addString(b: StringBuilder): StringBuilder

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. def buffered: BufferedIterator[Geolocation]

    Permalink
    Definition Classes
    Iterator
  14. val center: (Double, Double)

    Permalink
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def collect[B](pf: PartialFunction[Geolocation, 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.

  17. def collectFirst[B](pf: PartialFunction[Geolocation, B]): Option[B]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Iterator
  24. def count(p: (Geolocation) ⇒ Boolean): Int

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

    Permalink
    Definition Classes
    Iterator
  26. def dropWhile(p: (Geolocation) ⇒ Boolean): Iterator[Geolocation]

    Permalink
    Definition Classes
    Iterator
  27. def duplicate: (Iterator[Geolocation], Iterator[Geolocation])

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

    Permalink
    Definition Classes
    AnyRef
  29. def exists(p: (Geolocation) ⇒ Boolean): Boolean

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

    Permalink
    Definition Classes
    Iterator
  31. def filterNot(p: (Geolocation) ⇒ Boolean): Iterator[Geolocation]

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def forall(p: (Geolocation) ⇒ Boolean): Boolean

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

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  40. val ftFactory: FeatureTypeFactory[Geolocation]

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

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

    Permalink
    Definition Classes
    Iterator
  43. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  44. 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
  45. def indexOf[B >: Geolocation](elem: B): Int

    Permalink
    Definition Classes
    Iterator
  46. def indexWhere(p: (Geolocation) ⇒ 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[Geolocation]

    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: (Geolocation) ⇒ 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 >: Geolocation](implicit cmp: Ordering[B]): Geolocation

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

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

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

    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(): Geolocation

    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 >: Geolocation](len: Int, elem: A1): Iterator[A1]

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. val randomDirection: UniformDistribution

    Permalink
  70. val randomDistance: NormalDistribution

    Permalink
  71. def reduce[A1 >: Geolocation](op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. 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
    NormalGeolocationRandomData
  78. def reversed: List[Geolocation]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  79. 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
  80. def sameElements(that: Iterator[_]): Boolean

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

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

    Permalink
    Definition Classes
    Iterator
  83. def seq: Iterator[Geolocation]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. 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
  86. def slice(from: Int, until: Int): Iterator[Geolocation]

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

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

    Permalink
    Definition Classes
    Iterator
  89. def streamOfValues: InfiniteStream[Seq[Double]]

    Permalink

    Infinite stream of values produced

    Infinite stream of values produced

    returns

    a stream of random data

    Definition Classes
    NormalGeolocationRandomData
  90. def sum[B >: Geolocation](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  92. def take(n: Int): Iterator[Geolocation]

    Permalink
    Definition Classes
    Iterator
  93. def takeWhile(p: (Geolocation) ⇒ Boolean): Iterator[Geolocation]

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toBuffer[B >: Geolocation]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def toIndexedSeq: IndexedSeq[Geolocation]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def toIterable: Iterable[Geolocation]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toIterator: Iterator[Geolocation]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  100. def toList: List[Geolocation]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def toSeq: Seq[Geolocation]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def toSet[B >: Geolocation]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def toStream: Stream[Geolocation]

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

    Permalink
    Definition Classes
    Iterator → AnyRef → Any
  106. def toTraversable: Traversable[Geolocation]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  107. def toVector: Vector[Geolocation]

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

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

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

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

    Permalink
    Definition Classes
    Iterator
  112. def zip[B](that: Iterator[B]): Iterator[(Geolocation, B)]

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

    Permalink
    Definition Classes
    Iterator
  114. def zipWithIndex: Iterator[(Geolocation, Int)]

    Permalink
    Definition Classes
    Iterator

Inherited from Product

Inherited from Equals

Inherited from RandomData[Geolocation]

Inherited from PartiallyDefined

Inherited from InfiniteStream[Geolocation]

Inherited from Serializable

Inherited from Serializable

Inherited from Iterator[Geolocation]

Inherited from TraversableOnce[Geolocation]

Inherited from GenTraversableOnce[Geolocation]

Inherited from FeatureFactoryOwner[Geolocation]

Inherited from AnyRef

Inherited from Any

Ungrouped