abstract class BufferWrapper[A] extends Buffer[A]
Default partial implementation for buffer adapters.
- Attributes
- protected
- Self Type
- BufferWrapper[A]
- Alphabetic
- By Inheritance
- BufferWrapper
- Buffer
- BufferLike
- Subtractable
- Scriptable
- Shrinkable
- Growable
- Clearable
- Seq
- SeqLike
- Cloneable
- Cloneable
- Cloneable
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Mutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BufferWrapper()
Type Members
Abstract Value Members
-
abstract
def
+=(elem: A): BufferWrapper.this.type
- Definition Classes
- BufferLike → Growable
-
abstract
def
apply(n: Int): A
- Definition Classes
- BufferLike → SeqLike → GenSeqLike
-
abstract
def
insertAt(n: Int, a: A): Unit
- Attributes
- protected
-
abstract
def
length: Int
- Definition Classes
- BufferLike → SeqLike → GenSeqLike
-
abstract
def
remove(n: Int): A
- Definition Classes
- BufferLike
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(xs: GenTraversableOnce[A]): Buffer[A]
- Definition Classes
- BufferLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new buffer. Use++=
to add an element from this buffer and return that buffer itself.
-
def
++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: A, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: A, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: collection.TraversableOnce[A]): BufferWrapper.this.type
- Definition Classes
- Growable
-
def
++=:(xs: collection.TraversableOnce[A]): BufferWrapper.this.type
- Definition Classes
- BufferLike
-
def
+:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
+=(elem1: A, elem2: A, elems: A*): BufferWrapper.this.type
- Definition Classes
- Growable
-
def
+=:(a: A): BufferWrapper.this.type
- Definition Classes
- BufferWrapper → BufferLike
-
def
-(elem1: A, elem2: A, elems: A*): Buffer[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
-(elem: A): Buffer[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
--(xs: GenTraversableOnce[A]): Buffer[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new buffer. Use--=
to remove an element from this buffer and return that buffer itself.
-
def
--=(xs: collection.TraversableOnce[A]): BufferWrapper.this.type
- Definition Classes
- Shrinkable
-
def
-=(x: A): BufferWrapper.this.type
- Definition Classes
- BufferLike → Shrinkable
-
def
-=(elem1: A, elem2: A, elems: A*): BufferWrapper.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
:\[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (A) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
append(elems: A*): Unit
- Definition Classes
- BufferLike
-
def
appendAll(xs: collection.TraversableOnce[A]): Unit
- Definition Classes
- BufferLike
-
def
applyOrElse[A1 <: Int, B1 >: A](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- BufferWrapper → BufferLike → Growable → Clearable
-
def
clone(): Buffer[A]
- Definition Classes
- BufferLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
combinations(n: Int): collection.Iterator[Buffer[A]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[Buffer]
- Definition Classes
- Buffer → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains[A1 >: A](elem: A1): Boolean
- Definition Classes
- SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
-
def
copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
corresponds[B](that: GenSeq[B])(p: (A, B) ⇒ Boolean): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count(p: (A) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff[B >: A](that: GenSeq[B]): Buffer[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct: Buffer[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop(n: Int): Buffer[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Buffer[A]
- Definition Classes
- IterableLike
-
def
dropWhile(p: (A) ⇒ Boolean): Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenSeqLike → Equals → Any
-
def
exists(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (A) ⇒ Boolean): Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (A) ⇒ Boolean): Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
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
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): Buffer[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (A) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Buffer[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (A) ⇒ K): Map[K, Buffer[A]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): collection.Iterator[Buffer[A]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenSeqLike → Any
-
def
head: A
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
indexOf[B >: A](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: A](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: A](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: A](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
indexWhere(p: (A) ⇒ Boolean, from: Int): Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
indexWhere(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
indices: collection.immutable.Range
- Definition Classes
- SeqLike
-
def
init: Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: collection.Iterator[Buffer[A]]
- Definition Classes
- TraversableLike
-
def
insert(n: Int, elems: A*): Unit
- Definition Classes
- BufferLike
-
def
insertAll(n: Int, elems: Traversable[A]): Unit
- Definition Classes
- BufferWrapper → BufferLike
-
def
intersect[B >: A](that: GenSeq[B]): Buffer[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(idx: Int): Boolean
- Definition Classes
- GenSeqLike
-
def
isEmpty: Boolean
- Definition Classes
- SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: collection.Iterator[A]
- Definition Classes
- BufferWrapper → IterableLike → GenIterableLike
-
def
last: A
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastIndexOf[B >: A](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: A](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
lastOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lengthCompare(len: Int): Int
- Definition Classes
- SeqLike
-
def
lift: (Int) ⇒ Option[A]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
max[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[A, Buffer[A]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: A, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParSeq[A]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[A, ParSeq[A]]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → SeqLike → TraversableLike → Parallelizable
-
def
partition(p: (A) ⇒ Boolean): (Buffer[A], Buffer[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch[B >: A, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: collection.Iterator[Buffer[A]]
- Definition Classes
- SeqLike
-
def
prefixLength(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
prepend(elems: A*): Unit
- Definition Classes
- BufferLike
-
def
prependAll(xs: collection.TraversableOnce[A]): Unit
- Definition Classes
- BufferLike
-
def
product[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: A](op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: A](op: (A, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(n: Int, count: Int): Unit
- Definition Classes
- BufferLike
-
def
repr: Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
reverse: Buffer[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
reverseIterator: collection.Iterator[A]
- Definition Classes
- SeqLike
-
def
reverseMap[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[A]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (A) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: A](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
segmentLength(p: (A) ⇒ Boolean, from: Int): Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
seq: collection.mutable.Seq[A]
- Definition Classes
- Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Buffer[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): collection.Iterator[Buffer[A]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): collection.Iterator[Buffer[A]]
- Definition Classes
- IterableLike
-
def
sortBy[B](f: (A) ⇒ B)(implicit ord: math.Ordering[B]): Buffer[A]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (A, A) ⇒ Boolean): Buffer[A]
- Definition Classes
- SeqLike
-
def
sorted[B >: A](implicit ord: math.Ordering[B]): Buffer[A]
- Definition Classes
- SeqLike
-
def
span(p: (A) ⇒ Boolean): (Buffer[A], Buffer[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Buffer[A], Buffer[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- BufferLike → TraversableLike → GenTraversableLike
-
def
sum[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Buffer[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: collection.Iterator[Buffer[A]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Buffer[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Buffer[A]
- Definition Classes
- IterableLike
-
def
takeWhile(p: (A) ⇒ Boolean): Buffer[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: collection.Seq[A]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[B >: A]: Buffer[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Buffer[A]): collection.Seq[A]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: collection.immutable.IndexedSeq[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: collection.Iterable[A]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: collection.Iterator[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: collection.Seq[A]
- Definition Classes
- SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: A]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: collection.immutable.Stream[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SeqLike → TraversableLike → Any
-
def
toTraversable: collection.Traversable[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (A) ⇒ A): BufferWrapper.this.type
- Definition Classes
- SeqLike
-
def
transpose[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): Buffer[Buffer[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
trimEnd(n: Int): Unit
- Definition Classes
- BufferLike
-
def
trimStart(n: Int): Unit
- Definition Classes
- BufferLike
-
def
union[B >: A, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (Buffer[A1], Buffer[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (A) ⇒ (A1, A2, A3)): (Buffer[A1], Buffer[A2], Buffer[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(n: Int, a: A): Unit
- Definition Classes
- BufferWrapper → BufferLike → SeqLike
-
def
updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view(from: Int, until: Int): SeqView[A, Buffer[A]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
view: SeqView[A, Buffer[A]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
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
- @native() @throws( ... )
-
def
withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, Buffer[A]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Buffer[A], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: A, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Buffer[A], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[Buffer[A], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
Deprecated Value Members
-
def
<<(cmd: Message[A]): Unit
- Definition Classes
- BufferLike → Scriptable
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) scripting is deprecated