Packages

case class Intersperse[A](underlying: Iterable[A], sep: A) extends View[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, View[A], Iterable[A], Traversable[A], IterableOps[A, View, View[A]], IterableOnce[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Intersperse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. View
  7. Iterable
  8. Traversable
  9. IterableOps
  10. IterableOnce
  11. AnyRef
  12. Any
Implicitly
  1. by toLazyZipOps
  2. by iterableOnceExtensionMethods
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Intersperse(underlying: Iterable[A], sep: A)

Type Members

  1. class WithFilter extends collection.WithFilter[A, CC]
    Definition Classes
    IterableOps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to any2stringadd[Intersperse[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. final def ++[B >: A](suffix: Iterable[B]): View[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  5. def ->[B](y: B): (Intersperse[A], B)
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to ArrowAssoc[Intersperse[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def className: String
    Definition Classes
    View → IterableOps
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def coll: Intersperse.this.type
    Attributes
    protected[this]
    Definition Classes
    Iterable → IterableOps
  11. def collect[B](pf: PartialFunction[A, B]): View[B]
    Definition Classes
    IterableOps
  12. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
    Definition Classes
    IterableOps
  13. def concat[B >: A](suffix: Iterable[B]): View[B]
    Definition Classes
    IterableOps
  14. def copyToArray[B >: A](xs: Array[B], start: Int): xs.type
    Definition Classes
    IterableOps
  15. def count(p: (A) ⇒ Boolean): Int
    Definition Classes
    IterableOps
  16. def drop(n: Int): View[A]
    Definition Classes
    IterableOps
  17. def dropRight(n: Int): View[A]
    Definition Classes
    IterableOps
  18. def dropWhile(p: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  19. def ensuring(cond: (Intersperse[A]) ⇒ Boolean, msg: ⇒ Any): Intersperse[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to Ensuring[Intersperse[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (Intersperse[A]) ⇒ Boolean): Intersperse[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to Ensuring[Intersperse[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): Intersperse[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to Ensuring[Intersperse[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): Intersperse[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to Ensuring[Intersperse[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def exists(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableOps
  25. def filter(pred: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  26. def filterNot(pred: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  27. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def find(p: (A) ⇒ Boolean): Option[A]
    Definition Classes
    IterableOps
  29. def flatMap[B](f: (A) ⇒ IterableOnce[B]): View[B]
    Definition Classes
    IterableOps
  30. def flatten[B](implicit ev: (A) ⇒ IterableOnce[B]): View[B]
    Definition Classes
    IterableOps
  31. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    IterableOps
  32. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    IterableOps
  33. def forall(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableOps
  34. def foreach[U](f: (A) ⇒ U): Unit
    Definition Classes
    IterableOps
  35. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to StringFormat[Intersperse[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  36. def fromIterable[E](it: Iterable[E]): View[E]
    Attributes
    protected[this]
    Definition Classes
    IterableOps
  37. def fromSpecificIterable(coll: Iterable[A]): View[A]
    Attributes
    protected[this]
    Definition Classes
    View → IterableOps
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  39. def groupBy[K](f: (A) ⇒ K): immutable.Map[K, View[A]]
    Definition Classes
    IterableOps
  40. def groupMap[K, B](key: (A) ⇒ K)(f: (A) ⇒ B): immutable.Map[K, View[B]]
    Definition Classes
    IterableOps
  41. def groupMapReduce[K, B](key: (A) ⇒ K)(f: (A) ⇒ B)(reduce: (B, B) ⇒ B): immutable.Map[K, B]
    Definition Classes
    IterableOps
  42. def grouped(size: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  43. def head: A
    Definition Classes
    IterableOps
  44. def headOption: Option[A]
    Definition Classes
    IterableOps
  45. def init: View[A]
    Definition Classes
    IterableOps
  46. def isEmpty: Boolean
    Definition Classes
    IterableOps
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. def iterableFactory: collection.View.type
    Definition Classes
    View → IterableOps
  49. def iterator(): Iterator[A]
    Definition Classes
    Intersperse → IterableOnce
  50. def knownSize: Int
    Definition Classes
    Intersperse → IterableOps → IterableOnce
  51. def last: A
    Definition Classes
    IterableOps
  52. def lastOption: Option[A]
    Definition Classes
    IterableOps
  53. def lazyZip[B](that: Iterable[B]): LazyZip2[A, B, Intersperse[A]]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to LazyZipOps[A, Intersperse[A]] performed by method toLazyZipOps in strawman.collection.Iterable.
    Definition Classes
    LazyZipOps
  54. def map[B](f: (A) ⇒ B): View[B]
    Definition Classes
    IterableOps
  55. def max[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    IterableOps
  56. def maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    IterableOps
  57. def min[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    IterableOps
  58. def minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    IterableOps
  59. def mkString: String
    Definition Classes
    IterableOps
  60. def mkString(sep: String): String
    Definition Classes
    IterableOps
  61. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOps
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def newSpecificBuilder(): Builder[A, View[A]]
    Attributes
    protected[this]
    Definition Classes
    View → IterableOps
  64. def nonEmpty: Boolean
    Definition Classes
    IterableOps
  65. final def notify(): Unit
    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  67. def partition(p: (A) ⇒ Boolean): (View[A], View[A])
    Definition Classes
    IterableOps
  68. def product[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    IterableOps
  69. def reduce[B >: A](op: (B, B) ⇒ B): B
    Definition Classes
    IterableOps
  70. def reduceLeft[B >: A](op: (B, A) ⇒ B): B
    Definition Classes
    IterableOps
  71. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  72. def reduceOption[B >: A](op: (B, B) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  73. def reduceRight[B >: A](op: (A, B) ⇒ B): B
    Definition Classes
    IterableOps
  74. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  75. def reversed: Iterable[A]
    Attributes
    protected[this]
    Definition Classes
    IterableOps
  76. def scan[B >: A](z: B)(op: (B, B) ⇒ B): View[B]
    Definition Classes
    IterableOps
  77. def scanLeft[B](z: B)(op: (B, A) ⇒ B): View[B]
    Definition Classes
    IterableOps
  78. def scanRight[B](z: B)(op: (A, B) ⇒ B): View[B]
    Definition Classes
    IterableOps
  79. val sep: A
  80. def size: Int
    Definition Classes
    IterableOps
  81. def slice(from: Int, until: Int): View[A]
    Definition Classes
    IterableOps
  82. def sliding(size: Int, step: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  83. def sliding(size: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  84. def span(p: (A) ⇒ Boolean): (View[A], View[A])
    Definition Classes
    IterableOps
  85. def splitAt(n: Int): (View[A], View[A])
    Definition Classes
    IterableOps
  86. def sum[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    IterableOps
  87. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  88. def tail: View[A]
    Definition Classes
    IterableOps
  89. def take(n: Int): View[A]
    Definition Classes
    IterableOps
  90. def takeRight(n: Int): View[A]
    Definition Classes
    IterableOps
  91. def takeWhile(p: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  92. val this: Intersperse[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to LazyZipOps[A, Intersperse[A]] performed by method toLazyZipOps in strawman.collection.Iterable.
    Definition Classes
    LazyZipOps
  93. def to[C1](factory: Factory[A, C1]): C1
    Definition Classes
    IterableOps
  94. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOps
  95. def toIndexedSeq: immutable.IndexedSeq[A]
    Definition Classes
    IterableOps
  96. final def toIterable: Intersperse.this.type
    Definition Classes
    Iterable → IterableOps
  97. def toList: List[A]
    Definition Classes
    IterableOps
  98. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
    Definition Classes
    IterableOps
  99. def toSeq: immutable.Seq[A]
    Definition Classes
    IterableOps
  100. def toSet[B >: A]: immutable.Set[B]
    Definition Classes
    IterableOps
  101. def toString(): String
    Definition Classes
    View → IterableOps → AnyRef → Any
  102. def toVector: Vector[A]
    Definition Classes
    IterableOps
  103. def transpose[B](implicit asIterable: (A) ⇒ Iterable[B]): View[View[B]]
    Definition Classes
    IterableOps
  104. val underlying: Iterable[A]
  105. def unzip[A1, A2](implicit asPair: <:<[A, (A1, A2)]): (View[A1], View[A2])
    Definition Classes
    IterableOps
  106. def view: View[A]
    Definition Classes
    View → IterableOps
  107. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. def withFilter(p: (A) ⇒ Boolean): collection.WithFilter[A, View]
    Definition Classes
    IterableOps
  111. def zip[B](that: Iterable[B]): View[(A, B)]
    Definition Classes
    IterableOps
  112. def zipWithIndex: View[(A, Int)]
    Definition Classes
    IterableOps
  113. def [B](y: B): (Intersperse[A], B)
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to ArrowAssoc[Intersperse[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    IterableOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  2. final def :\[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    IterableOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  3. def find(p: (A) ⇒ Boolean): Option[A]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).find(p)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().find instead of .find on IterableOnce

  4. def foreach[U](f: (A) ⇒ U): Unit
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).foreach(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foreach(...) instead of .foreach(...) on IterableOnce

  5. final def hasDefiniteSize: Boolean
    Definition Classes
    IterableOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .knownSize >=0 instead of .hasDefiniteSize

  6. def isEmpty: Boolean
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).isEmpty
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().isEmpty instead of .isEmpty on IterableOnce

  7. def mkString: String
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).mkString
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  8. def mkString(sep: String): String
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).mkString(sep)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  9. def mkString(start: String, sep: String, end: String): String
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).mkString(start, sep, end)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  10. final def stringPrefix: String
    Definition Classes
    IterableOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use className instead of stringPrefix

  11. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).toArray(arg0)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ArrayBuffer.fromIterable(it).toArray instead of it.toArray on Iterable (wrap Iterators with View.fromIterator first)

  12. def toBuffer[B >: A]: Buffer[B]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ArrayBuffer.fromIterable(it) instead of it.toBuffer on Iterable (wrap Iterators with View.fromIterator first)

  13. def toList[B >: A]: List[B]
    Implicit
    This member is added by an implicit conversion from Intersperse[A] to IterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in strawman.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (intersperse: IterableOnceExtensionMethods[A]).toList
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use List.fromIterable(it) instead of it.toList on Iterable (wrap Iterators with View.fromIterator first)

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from View[A]

Inherited from Iterable[A]

Inherited from Traversable[A]

Inherited from IterableOps[A, View, View[A]]

Inherited from IterableOnce[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toLazyZipOps from Intersperse[A] to LazyZipOps[A, Intersperse[A]]

Inherited by implicit conversion iterableOnceExtensionMethods from Intersperse[A] to IterableOnceExtensionMethods[A]

Inherited by implicit conversion any2stringadd from Intersperse[A] to any2stringadd[Intersperse[A]]

Inherited by implicit conversion StringFormat from Intersperse[A] to StringFormat[Intersperse[A]]

Inherited by implicit conversion Ensuring from Intersperse[A] to Ensuring[Intersperse[A]]

Inherited by implicit conversion ArrowAssoc from Intersperse[A] to ArrowAssoc[Intersperse[A]]

Ungrouped