Packages

c

strawman.collection.decorators.View

IntersperseSurround

case class IntersperseSurround[A](underlying: Iterable[A], start: A, sep: A, end: 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. IntersperseSurround
  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 iterableDecorator
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntersperseSurround(underlying: Iterable[A], start: A, sep: A, end: 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 IntersperseSurround[A] to any2stringadd[IntersperseSurround[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): (IntersperseSurround[A], B)
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to ArrowAssoc[IntersperseSurround[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
    @native() @throws( ... )
  10. def coll: IntersperseSurround.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. val end: A
  20. def ensuring(cond: (IntersperseSurround[A]) ⇒ Boolean, msg: ⇒ Any): IntersperseSurround[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to Ensuring[IntersperseSurround[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (IntersperseSurround[A]) ⇒ Boolean): IntersperseSurround[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to Ensuring[IntersperseSurround[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: ⇒ Any): IntersperseSurround[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to Ensuring[IntersperseSurround[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): IntersperseSurround[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to Ensuring[IntersperseSurround[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def exists(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableOps
  26. def filter(pred: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  27. def filterNot(pred: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  28. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def find(p: (A) ⇒ Boolean): Option[A]
    Definition Classes
    IterableOps
  30. def flatMap[B](f: (A) ⇒ IterableOnce[B]): View[B]
    Definition Classes
    IterableOps
  31. def flatten[B](implicit ev: (A) ⇒ IterableOnce[B]): View[B]
    Definition Classes
    IterableOps
  32. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    IterableOps
  33. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    IterableOps
  34. def foldSomeLeft[B](z: B)(op: (B, A) ⇒ Option[B]): B

    Left to right fold that stops if the combination function op returns None

    Left to right fold that stops if the combination function op returns None

    B

    the result type of the binary operator

    z

    the start value

    op

    the binary operator

    returns

    the result of inserting op between consecutive elements of the collection, going left to right with the start value z on the left, and stopping when all the elements have been traversed or earlier if the operator returns None

    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to IterableDecorator[A] performed by method iterableDecorator in strawman.collection.decorators.
    Definition Classes
    IterableDecorator
  35. def forall(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableOps
  36. def foreach[U](f: (A) ⇒ U): Unit
    Definition Classes
    IterableOps
  37. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to StringFormat[IntersperseSurround[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  38. def fromIterable[E](it: Iterable[E]): View[E]
    Attributes
    protected[this]
    Definition Classes
    IterableOps
  39. def fromSpecificIterable(coll: Iterable[A]): View[A]
    Attributes
    protected[this]
    Definition Classes
    View → IterableOps
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def groupBy[K](f: (A) ⇒ K): immutable.Map[K, View[A]]
    Definition Classes
    IterableOps
  42. def groupMap[K, B](key: (A) ⇒ K)(f: (A) ⇒ B): immutable.Map[K, View[B]]
    Definition Classes
    IterableOps
  43. def groupMapReduce[K, B](key: (A) ⇒ K)(f: (A) ⇒ B)(reduce: (B, B) ⇒ B): immutable.Map[K, B]
    Definition Classes
    IterableOps
  44. def grouped(size: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  45. def head: A
    Definition Classes
    IterableOps
  46. def headOption: Option[A]
    Definition Classes
    IterableOps
  47. def init: View[A]
    Definition Classes
    IterableOps
  48. def isEmpty: Boolean
    Definition Classes
    IterableOps
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. def iterableFactory: collection.View.type
    Definition Classes
    View → IterableOps
  51. def iterator(): Iterator[A]
    Definition Classes
    IntersperseSurround → IterableOnce
  52. def knownSize: Int
    Definition Classes
    IntersperseSurround → IterableOps → IterableOnce
  53. def last: A
    Definition Classes
    IterableOps
  54. def lastOption: Option[A]
    Definition Classes
    IterableOps
  55. def lazyFoldRight[B](z: B)(op: (A) ⇒ Either[B, (B) ⇒ B]): B

    Right to left fold that can be interrupted before traversing the whole collection.

    Right to left fold that can be interrupted before traversing the whole collection.

    B

    the result type

    z

    the start value

    op

    the operator

    returns

    the result of applying the operator between consecutive elements of the collection, going right to left, with the start value z on the right. The result of the application of the function op to each element drives the process: if it returns Left(result), then result is returned without iterating further; if it returns Right(f), the function f is applied to the previous result to produce the new result and the fold continues.

    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to IterableDecorator[A] performed by method iterableDecorator in strawman.collection.decorators.
    Definition Classes
    IterableDecorator
  56. def lazyZip[B](that: Iterable[B]): LazyZip2[A, B, IntersperseSurround[A]]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to LazyZipOps[A, IntersperseSurround[A]] performed by method toLazyZipOps in strawman.collection.Iterable.
    Definition Classes
    LazyZipOps
  57. def map[B](f: (A) ⇒ B): View[B]
    Definition Classes
    IterableOps
  58. def max[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    IterableOps
  59. def maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    IterableOps
  60. def min[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    IterableOps
  61. def minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    IterableOps
  62. def mkString: String
    Definition Classes
    IterableOps
  63. def mkString(sep: String): String
    Definition Classes
    IterableOps
  64. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOps
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. def newSpecificBuilder(): Builder[A, View[A]]
    Attributes
    protected[this]
    Definition Classes
    View → IterableOps
  67. def nonEmpty: Boolean
    Definition Classes
    IterableOps
  68. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. def partition(p: (A) ⇒ Boolean): (View[A], View[A])
    Definition Classes
    IterableOps
  71. def product[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    IterableOps
  72. def reduce[B >: A](op: (B, B) ⇒ B): B
    Definition Classes
    IterableOps
  73. def reduceLeft[B >: A](op: (B, A) ⇒ B): B
    Definition Classes
    IterableOps
  74. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  75. def reduceOption[B >: A](op: (B, B) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  76. def reduceRight[B >: A](op: (A, B) ⇒ B): B
    Definition Classes
    IterableOps
  77. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
    Definition Classes
    IterableOps
  78. def reversed: Iterable[A]
    Attributes
    protected[this]
    Definition Classes
    IterableOps
  79. def scan[B >: A](z: B)(op: (B, B) ⇒ B): View[B]
    Definition Classes
    IterableOps
  80. def scanLeft[B](z: B)(op: (B, A) ⇒ B): View[B]
    Definition Classes
    IterableOps
  81. def scanRight[B](z: B)(op: (A, B) ⇒ B): View[B]
    Definition Classes
    IterableOps
  82. val sep: A
  83. def size: Int
    Definition Classes
    IterableOps
  84. def slice(from: Int, until: Int): View[A]
    Definition Classes
    IterableOps
  85. def sliding(size: Int, step: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  86. def sliding(size: Int): Iterator[View[A]]
    Definition Classes
    IterableOps
  87. def span(p: (A) ⇒ Boolean): (View[A], View[A])
    Definition Classes
    IterableOps
  88. def splitAt(n: Int): (View[A], View[A])
    Definition Classes
    IterableOps
  89. val start: A
  90. def sum[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    IterableOps
  91. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  92. def tail: View[A]
    Definition Classes
    IterableOps
  93. def take(n: Int): View[A]
    Definition Classes
    IterableOps
  94. def takeRight(n: Int): View[A]
    Definition Classes
    IterableOps
  95. def takeWhile(p: (A) ⇒ Boolean): View[A]
    Definition Classes
    IterableOps
  96. def to[C1](factory: Factory[A, C1]): C1
    Definition Classes
    IterableOps
  97. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOps
  98. def toIndexedSeq: immutable.IndexedSeq[A]
    Definition Classes
    IterableOps
  99. final def toIterable: IntersperseSurround.this.type
    Definition Classes
    Iterable → IterableOps
  100. def toList: List[A]
    Definition Classes
    IterableOps
  101. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
    Definition Classes
    IterableOps
  102. def toSeq: immutable.Seq[A]
    Definition Classes
    IterableOps
  103. def toSet[B >: A]: immutable.Set[B]
    Definition Classes
    IterableOps
  104. def toString(): String
    Definition Classes
    View → IterableOps → AnyRef → Any
  105. def toVector: Vector[A]
    Definition Classes
    IterableOps
  106. def transpose[B](implicit asIterable: (A) ⇒ Iterable[B]): View[View[B]]
    Definition Classes
    IterableOps
  107. val underlying: Iterable[A]
  108. def unzip[A1, A2](implicit asPair: <:<[A, (A1, A2)]): (View[A1], View[A2])
    Definition Classes
    IterableOps
  109. def view: View[A]
    Definition Classes
    View → IterableOps
  110. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  113. def withFilter(p: (A) ⇒ Boolean): collection.WithFilter[A, View]
    Definition Classes
    IterableOps
  114. def zip[B](that: Iterable[B]): View[(A, B)]
    Definition Classes
    IterableOps
  115. def zipWithIndex: View[(A, Int)]
    Definition Classes
    IterableOps
  116. def [B](y: B): (IntersperseSurround[A], B)
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to ArrowAssoc[IntersperseSurround[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val this: IntersperseSurround[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to LazyZipOps[A, IntersperseSurround[A]] performed by method toLazyZipOps in strawman.collection.Iterable.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (intersperseSurround: LazyZipOps[A, IntersperseSurround[A]]).this
    Definition Classes
    LazyZipOps
  2. val this: Iterable[A]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[A] to IterableDecorator[A] performed by method iterableDecorator in strawman.collection.decorators.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (intersperseSurround: IterableDecorator[A]).this
    Definition Classes
    IterableDecorator

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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: 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 IntersperseSurround[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:
    (intersperseSurround: IterableOnceExtensionMethods[A]).toArray(arg0)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ArrayBuffer.from(it).toArray

  12. def toBuffer[B >: A]: Buffer[B]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[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.from(it) instead of it.toBuffer

  13. def toList[B >: A]: List[B]
    Implicit
    This member is added by an implicit conversion from IntersperseSurround[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:
    (intersperseSurround: IterableOnceExtensionMethods[A]).toList
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use List.from(it) instead of it.toList

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 IntersperseSurround[A] to LazyZipOps[A, IntersperseSurround[A]]

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

Inherited by implicit conversion iterableDecorator from IntersperseSurround[A] to IterableDecorator[A]

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

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

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

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

Ungrouped