case class IntersperseSurround[A](underlying: Iterable[A], start: A, sep: A, end: A) extends View[A] with Product with Serializable
- Alphabetic
- By Inheritance
- IntersperseSurround
- Serializable
- Serializable
- Product
- Equals
- View
- Iterable
- Traversable
- IterableOps
- IterableOnce
- AnyRef
- Any
- by toLazyZipOps
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IntersperseSurround(underlying: Iterable[A], start: A, sep: A, end: A)
Type Members
-
class
WithFilter extends collection.WithFilter[A, CC]
- Definition Classes
- IterableOps
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
final
def
++[B >: A](suffix: Iterable[B]): View[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
className: String
- Definition Classes
- View → IterableOps
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
coll: IntersperseSurround.this.type
- Attributes
- protected[this]
- Definition Classes
- Iterable → IterableOps
-
def
collect[B](pf: PartialFunction[A, B]): View[B]
- Definition Classes
- IterableOps
-
def
collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- IterableOps
-
def
concat[B >: A](suffix: Iterable[B]): View[B]
- Definition Classes
- IterableOps
-
def
copyToArray[B >: A](xs: Array[B], start: Int): xs.type
- Definition Classes
- IterableOps
-
def
count(p: (A) ⇒ Boolean): Int
- Definition Classes
- IterableOps
-
def
drop(n: Int): View[A]
- Definition Classes
- IterableOps
-
def
dropRight(n: Int): View[A]
- Definition Classes
- IterableOps
-
def
dropWhile(p: (A) ⇒ Boolean): View[A]
- Definition Classes
- IterableOps
- val end: A
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
exists(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableOps
-
def
filter(pred: (A) ⇒ Boolean): View[A]
- Definition Classes
- IterableOps
-
def
filterNot(pred: (A) ⇒ Boolean): View[A]
- Definition Classes
- IterableOps
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (A) ⇒ Boolean): Option[A]
- Definition Classes
- IterableOps
-
def
flatMap[B](f: (A) ⇒ IterableOnce[B]): View[B]
- Definition Classes
- IterableOps
-
def
flatten[B](implicit ev: (A) ⇒ IterableOnce[B]): View[B]
- Definition Classes
- IterableOps
-
def
foldLeft[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- IterableOps
-
def
foldRight[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- IterableOps
-
def
forall(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableOps
-
def
foreach[U](f: (A) ⇒ U): Unit
- Definition Classes
- IterableOps
-
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()
-
def
fromIterable[E](it: Iterable[E]): View[E]
- Attributes
- protected[this]
- Definition Classes
- IterableOps
-
def
fromSpecificIterable(coll: Iterable[A]): View[A]
- Attributes
- protected[this]
- Definition Classes
- View → IterableOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
groupBy[K](f: (A) ⇒ K): immutable.Map[K, View[A]]
- Definition Classes
- IterableOps
-
def
groupMap[K, B](key: (A) ⇒ K)(f: (A) ⇒ B): immutable.Map[K, View[B]]
- Definition Classes
- IterableOps
-
def
groupMapReduce[K, B](key: (A) ⇒ K)(f: (A) ⇒ B)(reduce: (B, B) ⇒ B): immutable.Map[K, B]
- Definition Classes
- IterableOps
-
def
grouped(size: Int): Iterator[View[A]]
- Definition Classes
- IterableOps
-
def
head: A
- Definition Classes
- IterableOps
-
def
headOption: Option[A]
- Definition Classes
- IterableOps
-
def
init: View[A]
- Definition Classes
- IterableOps
-
def
isEmpty: Boolean
- Definition Classes
- IterableOps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterableFactory: collection.View.type
- Definition Classes
- View → IterableOps
-
def
iterator(): Iterator[A]
- Definition Classes
- IntersperseSurround → IterableOnce
-
def
knownSize: Int
- Definition Classes
- IntersperseSurround → IterableOps → IterableOnce
-
def
last: A
- Definition Classes
- IterableOps
-
def
lastOption: Option[A]
- Definition Classes
- IterableOps
-
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
-
def
map[B](f: (A) ⇒ B): View[B]
- Definition Classes
- IterableOps
-
def
max[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- IterableOps
-
def
maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- IterableOps
-
def
min[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- IterableOps
-
def
minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- IterableOps
-
def
mkString: String
- Definition Classes
- IterableOps
-
def
mkString(sep: String): String
- Definition Classes
- IterableOps
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newSpecificBuilder(): Builder[A, View[A]]
- Attributes
- protected[this]
- Definition Classes
- View → IterableOps
-
def
nonEmpty: Boolean
- Definition Classes
- IterableOps
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
partition(p: (A) ⇒ Boolean): (View[A], View[A])
- Definition Classes
- IterableOps
-
def
product[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- IterableOps
-
def
reduce[B >: A](op: (B, B) ⇒ B): B
- Definition Classes
- IterableOps
-
def
reduceLeft[B >: A](op: (B, A) ⇒ B): B
- Definition Classes
- IterableOps
-
def
reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
- Definition Classes
- IterableOps
-
def
reduceOption[B >: A](op: (B, B) ⇒ B): Option[B]
- Definition Classes
- IterableOps
-
def
reduceRight[B >: A](op: (A, B) ⇒ B): B
- Definition Classes
- IterableOps
-
def
reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
- Definition Classes
- IterableOps
-
def
reversed: Iterable[A]
- Attributes
- protected[this]
- Definition Classes
- IterableOps
-
def
scan[B >: A](z: B)(op: (B, B) ⇒ B): View[B]
- Definition Classes
- IterableOps
-
def
scanLeft[B](z: B)(op: (B, A) ⇒ B): View[B]
- Definition Classes
- IterableOps
-
def
scanRight[B](z: B)(op: (A, B) ⇒ B): View[B]
- Definition Classes
- IterableOps
- val sep: A
-
def
size: Int
- Definition Classes
- IterableOps
-
def
slice(from: Int, until: Int): View[A]
- Definition Classes
- IterableOps
-
def
sliding(size: Int, step: Int): Iterator[View[A]]
- Definition Classes
- IterableOps
-
def
sliding(size: Int): Iterator[View[A]]
- Definition Classes
- IterableOps
-
def
span(p: (A) ⇒ Boolean): (View[A], View[A])
- Definition Classes
- IterableOps
-
def
splitAt(n: Int): (View[A], View[A])
- Definition Classes
- IterableOps
- val start: A
-
def
sum[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- IterableOps
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: View[A]
- Definition Classes
- IterableOps
-
def
take(n: Int): View[A]
- Definition Classes
- IterableOps
-
def
takeRight(n: Int): View[A]
- Definition Classes
- IterableOps
-
def
takeWhile(p: (A) ⇒ Boolean): View[A]
- Definition Classes
- IterableOps
-
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.
- Definition Classes
- LazyZipOps
-
def
to[C1](factory: Factory[A, C1]): C1
- Definition Classes
- IterableOps
-
def
toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOps
-
def
toIndexedSeq: immutable.IndexedSeq[A]
- Definition Classes
- IterableOps
-
final
def
toIterable: IntersperseSurround.this.type
- Definition Classes
- Iterable → IterableOps
-
def
toList: List[A]
- Definition Classes
- IterableOps
-
def
toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
- Definition Classes
- IterableOps
-
def
toSeq: immutable.Seq[A]
- Definition Classes
- IterableOps
-
def
toSet[B >: A]: immutable.Set[B]
- Definition Classes
- IterableOps
-
def
toString(): String
- Definition Classes
- View → IterableOps → AnyRef → Any
-
def
toVector: Vector[A]
- Definition Classes
- IterableOps
-
def
transpose[B](implicit asIterable: (A) ⇒ Iterable[B]): View[View[B]]
- Definition Classes
- IterableOps
- val underlying: Iterable[A]
-
def
unzip[A1, A2](implicit asPair: <:<[A, (A1, A2)]): (View[A1], View[A2])
- Definition Classes
- IterableOps
-
def
view: View[A]
- Definition Classes
- View → IterableOps
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withFilter(p: (A) ⇒ Boolean): collection.WithFilter[A, View]
- Definition Classes
- IterableOps
-
def
zip[B](that: Iterable[B]): View[(A, B)]
- Definition Classes
- IterableOps
-
def
zipWithIndex: View[(A, Int)]
- Definition Classes
- IterableOps
-
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
Deprecated Value Members
-
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 /:
-
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 :\
-
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
-
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
-
final
def
hasDefiniteSize: Boolean
- Definition Classes
- IterableOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .knownSize >=0 instead of .hasDefiniteSize
-
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
-
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
-
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
-
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
-
final
def
stringPrefix: String
- Definition Classes
- IterableOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use className instead of stringPrefix
-
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.fromIterable(it).toArray instead of it.toArray on Iterable (wrap Iterators with View.fromIterator first)
-
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.fromIterable(it) instead of it.toBuffer on Iterable (wrap Iterators with View.fromIterator first)
-
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.fromIterable(it) instead of it.toList on Iterable (wrap Iterators with View.fromIterator first)