class IntersperseSurround[A] extends View[A]
- Alphabetic
- By Inheritance
- IntersperseSurround
- View
- Serializable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- by iterableOnceExtensionMethods
- by MapDecorator
- by SeqDecorator
- by IterableDecorator
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IntersperseSurround(underlying: SomeIterableOps[A], start: A, sep: A, end: A)
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] toany2stringadd[IntersperseSurround[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- final def ++[B >: A](suffix: IterableOnce[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] toArrowAssoc[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 addString(b: mutable.StringBuilder): mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def coll: IntersperseSurround.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[A, B]): View[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def concat[B >: A](suffix: IterableOnce[B]): View[B]
- Definition Classes
- IterableOps
- def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (A) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def drop(n: Int): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): View[A]
- Definition Classes
- IterableOps
- def dropWhile(p: (A) => Boolean): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: View[A]
- Definition Classes
- View → IterableFactoryDefaults → IterableOps
- def ensuring(cond: (IntersperseSurround[A]) => Boolean, msg: => Any): IntersperseSurround[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toEnsuring[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] toEnsuring[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] toEnsuring[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] toEnsuring[IntersperseSurround[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(p: (A) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: (A) => Boolean): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: (A) => Boolean): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- 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
- IterableOnceOps
- def flatMap[B](f: (A) => IterableOnce[B]): View[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (A) => IterableOnce[B]): View[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- def foldSomeLeft[B]: ([B](z: B)(op: (B, _1.it.A) => Option[B])B) forSome {val _1: IterableDecorator[IntersperseSurround[A], it.type]}
Left to right fold that stops if the combination function
op
returnsNone
Left to right fold that stops if the combination function
op
returnsNone
- B
the result type of the binary operator
- returns
the result of inserting
op
between consecutive elements of the collection, going left to right with the start valuez
on the left, and stopping when all the elements have been traversed or earlier if the operator returnsNone
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableDecorator[IntersperseSurround[A], it.type] performed by method IterableDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsIterable[IntersperseSurround[A]] is in scope.
- Definition Classes
- IterableDecorator
- def forall(p: (A) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (A) => U): Unit
- Definition Classes
- IterableOnceOps
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toStringFormat[IntersperseSurround[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def fromSpecific(coll: IterableOnce[A]): View[A]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def fullOuterJoin[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (Option[_1.map.V], Option[W])),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Alias for
mergeByKey
Alias for
mergeByKey
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head: A
- Definition Classes
- IterableOps
- def headOption: Option[A]
- Definition Classes
- IterableOps
- def init: View[A]
- Definition Classes
- IterableOps
- def inits: Iterator[View[A]]
- Definition Classes
- IterableOps
- def intersperse[B >: SeqDecorator.S.A, That]: ([B, That](start: B, sep: B, end: B)(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],B,That])That) forSome {val _1: SeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type]}
Adds the element
sep
between each element of the sequence, prependingstart
and appendingend
.Adds the element
sep
between each element of the sequence, prependingstart
and appendingend
. If the sequence has less than two elements, returnsstart +: this :+ end
.- B
the element type of the returned collection
- returns
a new collection consisting of all elements of this collection interspersed with the element
sep
, beginning withstart
and ending withend
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toSeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type] performed by method SeqDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsSeq[IntersperseSurround[A]] is in scope.
- Definition Classes
- SeqDecorator
List(1, 2, 3, 4).intersperse(-1, 0, 5) => List(-1, 1, 0, 2, 0, 3, 0, 4, 5)
Example: - def intersperse[B >: SeqDecorator.S.A, That]: ([B, That](sep: B)(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],B,That])That) forSome {val _1: SeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type]}
Adds the element
sep
between each element of the sequence.Adds the element
sep
between each element of the sequence. If the sequence has less than two elements, the collection is unchanged.- B
the element type of the returned collection
- returns
a new collection consisting of all elements of this collection interspersed with the element
sep
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toSeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type] performed by method SeqDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsSeq[IntersperseSurround[A]] is in scope.
- Definition Classes
- SeqDecorator
List(1, 2, 3, 4).intersperse(0) = List(1, 0, 2, 0, 3, 0, 4)
Example: - def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- implicit val it: it.type
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableDecorator[IntersperseSurround[A], it.type] performed by method IterableDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsIterable[IntersperseSurround[A]] is in scope.
- Definition Classes
- IterableDecorator
- def iterableFactory: IterableFactory[View]
- Definition Classes
- View → Iterable → IterableOps
- def iterator: Iterator[A]
- Definition Classes
- IntersperseSurround → IterableOnce
- final def join[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (_1.map.V, W)),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Alias for
zipByKey
Alias for
zipByKey
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- Annotations
- @inline()
- def knownSize: Int
- Definition Classes
- IntersperseSurround → IterableOnce
- def last: A
- Definition Classes
- IterableOps
- def lastOption: Option[A]
- Definition Classes
- IterableOps
- def lazyFoldLeft[B]: ([B](z: B)(op: (B, => _1.it.A) => B)B) forSome {val _1: IterableDecorator[IntersperseSurround[A], it.type]}
Lazy left to right fold.
Lazy left to right fold. Like
foldLeft
but the combination functionop
is non-strict in its second parameter. Ifop(b, a)
chooses not to evaluatea
and returnsb
, this terminates the traversal early.- B
the result type of the binary operator
- returns
the result of inserting
op
between consecutive elements of the collection, going left to right with the start valuez
on the left, and stopping when all the elements have been traversed or earlier ifop(b, a)
choose not to evaluatea
and returnsb
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableDecorator[IntersperseSurround[A], it.type] performed by method IterableDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsIterable[IntersperseSurround[A]] is in scope.
- Definition Classes
- IterableDecorator
- def lazyFoldRight[B]: ([B](z: B)(op: _1.it.A => scala.util.Either[B,B => B])B) forSome {val _1: IterableDecorator[IntersperseSurround[A], it.type]}
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
- 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 functionop
to each element drives the process: if it returnsLeft(result)
, thenresult
is returned without iterating further; if it returnsRight(f)
, the functionf
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] toIterableDecorator[IntersperseSurround[A], it.type] performed by method IterableDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsIterable[IntersperseSurround[A]] is in scope.
- Definition Classes
- IterableDecorator
- def lazyZip[B](that: Iterable[B]): LazyZip2[A, B, IntersperseSurround.this.type]
- Definition Classes
- Iterable
- def leftOuterJoin[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (_1.map.V, Option[W])),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Perform a left outer join of
this
andthat
.Perform a left outer join of
this
andthat
.Equivalent to
mergeByKeyWith(that) { case (Some(v), maybeW) => (v, maybeW) }
.- W
Type of values of
that
- That
Type of the resulting collection
- returns
A Map that associates all the keys
k
ofthis
to pairs(v, Some(w))
ifthat
associatesk
tow
, or(v, None)
ifthat
doesn’t containk
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- def map[B](f: (A) => B): View[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def max[B >: A](implicit ord: math.Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- final def mergeByKey[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (Option[_1.map.V], Option[W])),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Perform a full outer join of
this
andthat
.Perform a full outer join of
this
andthat
.Equivalent to
mergeByKeyWith(that) { case any => any }
.- W
Type of values of
that
(e.g.String
)- That
Type of the resulting collection (e.g.
Map[Int, (Option[Boolean], Option[String])]
)- returns
A Map that associates all the keys
k
ofthis
orthat
to pairs(Some(v), Some(w))
ifthis
associatesk
tov
andthat
associatesk
tow
, or pairs(None, Some(w))
ifthis
doesn’t containk
, or pairs(Some(v), None)
ifthat
doesn’t containk
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- Annotations
- @inline()
- def mergeByKeyWith[W, X, That]: ([W, X, That](other: scala.collection.Map[_1.map.K,W])(f: PartialFunction[(Option[_1.map.V], Option[W]),X])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, X),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
- W
Type of values of the other Map (e.g.
Int
,String
)- X
Type of values of the resulting Map
- That
Type of the result (e.g.
Map[Int, (String, Option[Boolean])]
)- returns
A Map associating all the keys from
this
andthat
with values returned by the partial functionf
, when this one is defined.
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- def min[B >: A](implicit ord: math.Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[A, View[A]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def partition(p: (A) => Boolean): (View[A], View[A])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (View[A1], View[A2])
- Definition Classes
- IterableOps
- def product[B >: A](implicit num: math.Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: A](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: A](op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: A](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: A](op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def replaced[B >: SeqDecorator.S.A, That]: ([B, That](elem: B, replacement: B)(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],B,That])That) forSome {val _1: SeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type]}
Produces a new sequence where all occurrences of some element are replaced by a different element.
Produces a new sequence where all occurrences of some element are replaced by a different element.
- B
the element type of the returned collection.
- returns
a new sequence consisting of all elements of this sequence except that all occurrences of
elem
are replaced byreplacement
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toSeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type] performed by method SeqDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsSeq[IntersperseSurround[A]] is in scope.
- Definition Classes
- SeqDecorator
- def reversed: Iterable[A]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def rightOuterJoin[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (Option[_1.map.V], W)),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Perform a right outer join of
this
andthat
.Perform a right outer join of
this
andthat
.Equivalent to
mergeByKeyWith(that) { case (maybeV, Some(w)) => (maybeV, w) }
.- W
Type of values of
that
(e.g.String
)- That
Type of the resulting collection (e.g.
Map[Int, (Option[Boolean], String)]
)- returns
A Map that associates all the keys
k
ofthat
to pairs(Some(v), w)
ifthis
associatesk
tov
, or(None, w)
ifthis
doesn’t containk
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- 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 → IterableOnceOps
- def scanRight[B](z: B)(op: (A, B) => B): View[B]
- Definition Classes
- IterableOps
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- 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 → IterableOnceOps
- def splitAt(n: Int): (View[A], View[A])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitBy[K, CC1, CC2]: ([K, CC1, CC2](f: _1.it.A => K)(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],_1.it.A,CC1], implicit bff: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],CC1,CC2])CC2) forSome {val _1: IterableDecorator[IntersperseSurround[A], it.type]}
Constructs a collection where consecutive elements are accumulated as long as the output of f for each element doesn't change.
Constructs a collection where consecutive elements are accumulated as long as the output of f for each element doesn't change.
Vector(1,2,2,3,3,3,2,2) .splitBy(identity)
producesVector(Vector(1), Vector(2,2), Vector(3,3,3), Vector(2,2))
- K
the type of the computed key
- returns
a collection of collections of the consecutive elements with the same key in the original collection
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableDecorator[IntersperseSurround[A], it.type] performed by method IterableDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsIterable[IntersperseSurround[A]] is in scope.
- Definition Classes
- IterableDecorator
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- View → Iterable
- Annotations
- @deprecatedOverriding("Compatibility override", "2.13.0")
- def sum[B >: A](implicit num: math.Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: View[A]
- Definition Classes
- IterableOps
- def tails: Iterator[View[A]]
- Definition Classes
- IterableOps
- def take(n: Int): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): View[A]
- Definition Classes
- IterableOps
- def takeWhile(p: (A) => Boolean): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (A) => U): View[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[A, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: A]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: immutable.IndexedSeq[A]
- Definition Classes
- IterableOnceOps
- final def toIterable: IntersperseSurround.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: immutable.List[A]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: immutable.Seq[A]
- Definition Classes
- IterableOnceOps
- def toSet[B >: A]: immutable.Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- View → Iterable → AnyRef → Any
- def toVector: immutable.Vector[A]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (A) => Iterable[B]): View[View[B]]
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (View[A1], View[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (View[A1], View[A2], View[A3])
- Definition Classes
- IterableOps
- def view: View[A]
- Definition Classes
- View → IterableOps
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFilter(p: (A) => Boolean): WithFilter[A, [_]View[_]]
- Definition Classes
- IterableOps
- def zip[B](that: IterableOnce[B]): View[(A, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): View[(A1, B)]
- Definition Classes
- IterableOps
- def zipByKey[W, That]: ([W, That](other: scala.collection.Map[_1.map.K,W])(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, (_1.map.V, W)),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Combines the entries of
this
Map with the entries ofthat
Map that have the same key, tupling their values.Combines the entries of
this
Map with the entries ofthat
Map that have the same key, tupling their values.xs.zipByKey(ys)
is a shorthand forxs.zipByKeyWith(ys)((_, _))
.- W
Type of values of the other Map (e.g.
Int
,String
)- That
Type of the result (e.g.
Map[Int, (String, Boolean)]
,TreeMap[String, (Int, Int)]
)- returns
A Map that associates all the keys
k
contained by boththis
andthat
to pairs(v, w)
wherev
is the value associated bythis
tok
andw
the value associated bythat
tok
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- def zipByKeyWith[W, X, That]: ([W, X, That](other: scala.collection.Map[_1.map.K,W])(f: (_1.map.V, W) => X)(implicit bf: scala.collection.BuildFrom[scala.collection.decorators.View.IntersperseSurround[A],(_1.map.K, X),That])That) forSome {val _1: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]}
Combines entries of
this
Map with entries ofthat
Map that have the same key, using the combination functionf
Combines entries of
this
Map with entries ofthat
Map that have the same key, using the combination functionf
- W
Type of values of the other Map (e.g.
Int
,String
)- X
Type of values of the resulting Map
- That
Type of the resulting Map
- returns
A Map that associates all the keys
k
contained by boththis
andthat
to the result of the application off
to the valuesv
andw
respectively associated bythis
andthat
tok
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- Definition Classes
- MapDecorator
- def zipWithIndex: View[(A, Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Shadowed Implicit Value Members
- implicit val map: MapDecorator.map.type
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toMapDecorator[IntersperseSurround[A], MapDecorator.map.type] performed by method MapDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsMap[IntersperseSurround[A]] is in scope.
- 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: MapDecorator[IntersperseSurround[A], MapDecorator.map.type]).map
- Definition Classes
- MapDecorator
- implicit val seq: SeqDecorator.seq.type
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toSeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type] performed by method SeqDecorator in scala.collection.decorators.This conversion will take place only if an implicit value of type IsSeq[IntersperseSurround[A]] is in scope.
- 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: SeqDecorator[IntersperseSurround[A], SeqDecorator.seq.type]).seq
- Definition Classes
- SeqDecorator
Deprecated Value Members
- def ++:[B >: A](that: IterableOnce[B]): View[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def /:[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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])./:(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- final def /:[B](z: B)(op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- def :\[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).:\(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- final def :\[B](z: B)(op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def collectFirst[B](f: PartialFunction[A, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).collectFirst(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.collectFirst(...) instead
- def companion: IterableFactory[[_]View[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def copyToBuffer(dest: Buffer[A]): Unit
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).copyToBuffer(dest)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.copyToBuffer(...) instead
- final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def count(f: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).count(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.count(...) instead
- def exists(f: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).exists(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.exists(...) instead
- def filter(f: (A) => Boolean): Iterator[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).filter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.filter(...) instead
- def find(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def flatMap[B](f: (A) => IterableOnce[B]): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).flatMap(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).fold(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.fold instead
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).foldLeft(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- def foldRight[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).foldRight(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- def forall(f: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).forall(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.forall(...) instead
- def force: IndexedSeq[A]
- Definition Classes
- View
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Views no longer know about their underlying collection type; .force always returns an IndexedSeq
- def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def map[B](f: (A) => B): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).map(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable
- def max(implicit ord: math.Ordering[A]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).max(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.max instead
- def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.maxBy(...) instead
- def min(implicit ord: math.Ordering[A]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).min(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.min instead
- def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).minBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.minBy(...) instead
- def mkString: String
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).nonEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.nonEmpty instead
- def product(implicit num: math.Numeric[A]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).product(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.product instead
- def reduce(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduce(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduce(...) instead
- def reduceLeft(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduceLeft(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeft(...) instead
- def reduceLeftOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduceLeftOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead
- def reduceOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduceOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceOption(...) instead
- def reduceRight(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduceRight(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRight(...) instead
- def reduceRightOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).reduceRightOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRightOption(...) instead
- final def repr: View[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def sameElements[B >: A](that: IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sameElements instead
- def seq: IntersperseSurround.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def size: Int
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).size
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.size instead
- def sum(implicit num: math.Numeric[A]): A
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).sum(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sum instead
- def to[C1](factory: Factory[A, C1]): C1
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).to(factory)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(factory) instead
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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 .iterator.toArray
- def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toBuffer
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead
- def toIndexedSeq: IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toIndexedSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toIndexedSeq instead
- final def toIterable: Iterable[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toIterable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- def toIterator: Iterator[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toIterator
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead
- final def toIterator: Iterator[A]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- def toList: immutable.List[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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 .iterator.to(List) instead
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toMap(ev)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(Map) instead
- def toSeq: immutable.Seq[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Seq) instead
- def toSet[B >: A]: immutable.Set[B]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toSet
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Set) instead
- def toStream: immutable.Stream[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toStream
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(LazyList) instead
- final def toStream: immutable.Stream[A]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toTraversable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def toTraversable: Traversable[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- def toVector: immutable.Vector[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).toVector
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Vector) instead
- def view(from: Int, until: Int): View[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def withFilter(f: (A) => Boolean): Iterator[A]
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.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]).withFilter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.withFilter(...) instead
- def →[B](y: B): (IntersperseSurround[A], B)
- Implicit
- This member is added by an implicit conversion from IntersperseSurround[A] toArrowAssoc[IntersperseSurround[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.