scala.collection.JavaConversions

JListWrapper

class JListWrapper[A](underlying: List[A]) extends Buffer[A] with Product

go to: companion
source: JavaConversions.scala
Inherited
  1. Hide All
  2. Show all
  1. Product
  2. Buffer
  3. BufferLike
  4. Cloneable
  5. Subtractable
  6. Scriptable
  7. Shrinkable
  8. Growable
  9. Seq
  10. Seq
  11. SeqLike
  12. PartialFunction
  13. Function1
  14. Iterable
  15. Iterable
  16. IterableLike
  17. Equals
  18. Traversable
  19. Mutable
  20. Traversable
  21. GenericTraversableTemplate
  22. TraversableLike
  23. TraversableOnce
  24. FilterMonadic
  25. HasNewBuilder
  26. AnyRef
  27. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new JListWrapper(underlying: List[A])

Type Members

  1. type Self = Buffer[A]

    The type implementing this traversable

  2. class WithFilter extends FilterMonadic[A, Repr]

    A class supporting filtered operations.

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def +(elem1: A, elem2: A, elems: A*): Buffer[A]

    Adds two or more elements to this collection and returns the collection itself.

  7. def +(elem: A): Buffer[A]

    Adds a single element to this collection and returns the collection itself.

  8. def ++(xs: TraversableOnce[A]): Buffer[A]

    Creates a new collection containing both the elements of this collection and the provided traversable object.

  9. def ++(that: TraversableOnce[A]): Traversable[A]

    [use case] Concatenates this buffer with the elements of a traversable collection.

  10. def ++[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Concatenates this buffer with the elements of a traversable collection.

  11. def ++:(xs: Traversable[A]): Buffer[A]

    This method prepends elements to the buffer and returns the same buffer.

  12. def ++=(src: Array[A], start: Int, len: Int): Unit

    Adds a number of elements in an array

  13. def ++=(xs: TraversableOnce[A]): Growable[A]

    Appends all elements produced by a TraversableOnce to this buffer.

  14. def ++=:(xs: TraversableOnce[A]): Buffer[A]

    Prepends elements to this buffer.

  15. def +:(elem: A): Buffer[A]

    This method prepends elements to the buffer and returns the same buffer.

  16. def +:(elem: A): Seq[A]

    [use case] Prepends an element to this buffer

  17. def +:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Prepends an element to this buffer

  18. def +=(elem: A): JListWrapper[A]

    Appends a single element to this buffer.

  19. def +=(elem1: A, elem2: A, elems: A*): Growable[A]

    Appends two or more elements to this buffer.

  20. def +=:(elem: A): JListWrapper[A]

    Prepends a single element to this buffer.

  21. def -(elem1: A, elem2: A, elems: A*): Buffer[A]

    Creates a new collection with all the elements of this collection except the two or more specified elements.

  22. def -(elem: A): Buffer[A]

    Creates a new collection with all the elements of this collection except elem.

  23. def --(xs: TraversableOnce[A]): Buffer[A]

    Creates a new collection with all the elements of this collection except those provided by the specified traversable object.

  24. def --=(xs: TraversableOnce[A]): Shrinkable[A]

    Removes all elements produced by an iterator from this buffer.

  25. def -=(x: A): Buffer[A]

    Removes a single element from this buffer, at its first occurrence.

  26. def -=(elem1: A, elem2: A, elems: A*): Shrinkable[A]

    Removes two or more elements from this buffer.

  27. def /:[B](z: B)(op: (B, A) ⇒ B): B

    Applies a binary operator to a start value and all elements of this buffer, going left to right.

  28. def :+(elem: A): Seq[A]

    [use case] Appends an element to this buffer

  29. def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Appends an element to this buffer

  30. def :\[B](z: B)(op: (A, B) ⇒ B): B

    Applies a binary operator to all elements of this buffer and a start value, going right to left.

  31. def <<(cmd: Message[A]): Unit

    Send a message to this scriptable object.

  32. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  33. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  34. def addString(b: StringBuilder): StringBuilder

    Appends all elements of this buffer to a string builder.

  35. def addString(b: StringBuilder, sep: String): StringBuilder

    Appends all elements of this buffer to a string builder using a separator string.

  36. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Appends all elements of this buffer to a string builder using start, end, and separator strings.

  37. def andThen[C](k: (A) ⇒ C): PartialFunction[Int, C]

    Composes this partial function with a transformation function that gets applied to results of this partial function.

  38. def append(elems: A*): Unit

    Appends the given elements to this buffer.

  39. def appendAll(xs: TraversableOnce[A]): Unit

    Appends the elements contained in a traversable object to this buffer.

  40. def apply(i: Int): A

    Selects an element by its index in the buffer.

  41. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  42. def canEqual(that: Any): Boolean

    Method called from equality methods, so that user-defined subclasses can refuse to be equal to other collections of the same kind.

  43. def clear(): Unit

    Clears the buffer's contents.

  44. def clone(): Buffer[A]

    This method creates and returns a copy of the receiver object.

  45. def collect[B](pf: PartialFunction[A, B]): Traversable[B]

    [use case] Builds a new collection by applying a partial function to all elements of this buffer on which the function is defined.

  46. def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Builds a new collection by applying a partial function to all elements of this buffer on which the function is defined.

  47. def companion: GenericCompanion[Buffer[A][A]]

    The factory companion object that builds instances of class Buffer.

  48. def compose[A](g: (A) ⇒ Int): (A) ⇒ A

    (f compose g)(x) == f(g(x))

  49. def contains(elem: Any): Boolean

    Tests whether this buffer contains a given value as an element.

  50. def containsSlice[B](that: Seq[B]): Boolean

    Tests whether this buffer contains a given sequence as a slice.

  51. def copyToArray(xs: Array[A], start: Int, len: Int): Unit

    [use case] Copies elements of this buffer to an array.

  52. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit

    Copies elements of this buffer to an array.

  53. def copyToArray(xs: Array[A]): Unit

    [use case] Copies values of this buffer to an array.

  54. def copyToArray[B >: A](xs: Array[B]): Unit

    Copies values of this buffer to an array.

  55. def copyToArray(xs: Array[A], start: Int): Unit

    [use case] Copies values of this buffer to an array.

  56. def copyToArray[B >: A](xs: Array[B], start: Int): Unit

    Copies values of this buffer to an array.

  57. def copyToBuffer[B >: A](dest: Buffer[B]): Unit

    Copies all elements of this buffer to a buffer.

  58. def corresponds[B](that: Seq[B])(p: (A, B) ⇒ Boolean): Boolean

    Tests whether every element of this buffer relates to the corresponding element of another sequence by satisfying a test predicate.

  59. def count(p: (A) ⇒ Boolean): Int

    Counts the number of elements in the buffer which satisfy a predicate.

  60. def diff(that: Seq[A]): Seq[A]

    [use case] Computes the multiset difference between this buffer and another sequence.

  61. def diff[B >: A](that: Seq[B]): Buffer[A]

    Computes the multiset difference between this buffer and another sequence.

  62. def distinct: Buffer[A]

    Builds a new buffer from this buffer without any duplicate elements.

  63. def drop(n: Int): Buffer[A]

    Selects all elements except first n ones.

  64. def dropRight(n: Int): Buffer[A]

    Selects all elements except last n ones.

  65. def dropWhile(p: (A) ⇒ Boolean): Buffer[A]

    Drops longest prefix of elements that satisfy a predicate.

  66. def elements: Iterator[A]

  67. def endsWith[B](that: Seq[B]): Boolean

    Tests whether this buffer ends with the given sequence.

  68. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  69. def equals(that: Any): Boolean

    The equality method defined in AnyRef.

  70. def equalsWith[B](that: Seq[B])(f: (A, B) ⇒ Boolean): Boolean

    Tests whether every element of this buffer relates to the corresponding element of another sequence by satisfying a test predicate.

  71. def exists(p: (A) ⇒ Boolean): Boolean

    Tests whether a predicate holds for some of the elements of this buffer.

  72. def filter(p: (A) ⇒ Boolean): Buffer[A]

    Selects all elements of this buffer which satisfy a predicate.

  73. def filterNot(p: (A) ⇒ Boolean): Buffer[A]

    Selects all elements of this buffer which do not satisfy a predicate.

  74. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  75. def find(p: (A) ⇒ Boolean): Option[A]

    Finds the first element of the buffer satisfying a predicate, if any.

  76. def findIndexOf(p: (A) ⇒ Boolean): Int

    Returns index of the first element satisfying a predicate, or -1.

  77. def findLastIndexOf(p: (A) ⇒ Boolean): Int

    Returns index of the last element satisfying a predicate, or -1.

  78. def first: A

  79. def firstOption: Option[A]

    None if iterable is empty.

  80. def flatMap[B](f: (A) ⇒ Traversable[B]): Traversable[B]

    [use case] Builds a new collection by applying a function to all elements of this buffer and concatenating the results.

  81. def flatMap[B, That](f: (A) ⇒ Traversable[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Builds a new collection by applying a function to all elements of this buffer and concatenating the results.

  82. def flatten[B]: CC[B]

    [use case] Converts this buffer of traversable collections into a buffer in which all element collections are concatenated.

  83. def flatten[B](implicit asTraversable: (A) ⇒ Traversable[B]): Buffer[B]

    Converts this buffer of traversable collections into a buffer in which all element collections are concatenated.

  84. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B

    Applies a binary operator to a start value and all elements of this buffer, going left to right.

  85. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Applies a binary operator to all elements of this buffer and a start value, going right to left.

  86. def forall(p: (A) ⇒ Boolean): Boolean

    Tests whether a predicate holds for all elements of this buffer.

  87. def foreach(f: (A) ⇒ Unit): Unit

    [use case] Applies a function f to all elements of this buffer.

  88. def foreach[U](f: (A) ⇒ U): Unit

    Applies a function f to all elements of this buffer.

  89. def genericBuilder[B]: Builder[B, Buffer[B]]

    The generic builder that builds instances of Buffer at arbitrary element types.

  90. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  91. def groupBy[K](f: (A) ⇒ K): Map[K, Buffer[A]]

    Partitions this buffer into a map of buffers according to some discriminator function.

  92. def grouped(size: Int): Iterator[Buffer[A]]

    Partitions elements in fixed size buffers.

  93. def hasDefiniteSize: Boolean

    Tests whether this buffer is known to have a finite size.

  94. def hashCode(): Int

    Hashcodes for Buffer produce a value from the hashcodes of all the elements of the buffer.

  95. def head: A

    Selects the first element of this buffer.

  96. def headOption: Option[A]

    Optionally selects the first element.

  97. def indexOf(elem: A, from: Int): Int

    [use case] Finds index of first occurrence of some value in this buffer after or at some start index.

  98. def indexOf[B >: A](elem: B, from: Int): Int

    Finds index of first occurrence of some value in this buffer after or at some start index.

  99. def indexOf(elem: A): Int

    [use case] Finds index of first occurrence of some value in this buffer.

  100. def indexOf[B >: A](elem: B): Int

    Finds index of first occurrence of some value in this buffer.

  101. def indexOfSlice[B >: A](that: Seq[B], from: Int): Int

    Finds first index after or at a start index where this buffer contains a given sequence as a slice.

  102. def indexOfSlice[B >: A](that: Seq[B]): Int

    Finds first index where this buffer contains a given sequence as a slice.

  103. def indexWhere(p: (A) ⇒ Boolean, from: Int): Int

    Finds index of the first element satisfying some predicate after or at some start index.

  104. def indexWhere(p: (A) ⇒ Boolean): Int

    Finds index of first element satisfying some predicate.

  105. def indices: Range

    Produces the range of all indices of this sequence.

  106. def init: Buffer[A]

    Selects all elements except the last.

  107. def insert(n: Int, elems: A*): Unit

    Inserts new elements at a given index into this buffer.

  108. def insertAll(i: Int, elems: Traversable[A]): Unit

    Inserts new elements at a given index into this buffer.

  109. def intersect(that: Seq[A]): Seq[A]

    [use case] Computes the multiset intersection between this buffer and another sequence.

  110. def intersect[B >: A](that: Seq[B]): Buffer[A]

    Computes the multiset intersection between this buffer and another sequence.

  111. def isDefinedAt(idx: Int): Boolean

    Tests whether this buffer contains given index.

  112. def isEmpty: Boolean

    Tests whether this buffer is empty.

  113. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  114. def isTraversableAgain: Boolean

    Tests whether this buffer can be repeatedly traversed.

  115. def iterator: Iterator[A]

    Creates a new iterator over all elements contained in this iterable object.

  116. def last: A

    Selects the last element.

  117. def lastIndexOf(elem: A, end: Int): Int

    [use case] Finds index of last occurrence of some value in this buffer before or at a given end index.

  118. def lastIndexOf[B >: A](elem: B, end: Int): Int

    Finds index of last occurrence of some value in this buffer before or at a given end index.

  119. def lastIndexOf(elem: A): Int

    [use case] Finds index of last occurrence of some value in this buffer.

  120. def lastIndexOf[B >: A](elem: B): Int

    Finds index of last occurrence of some value in this buffer.

  121. def lastIndexOfSlice[B >: A](that: Seq[B], end: Int): Int

    Finds last index before or at a given end index where this buffer contains a given sequence as a slice.

  122. def lastIndexOfSlice[B >: A](that: Seq[B]): Int

    Finds last index where this buffer contains a given sequence as a slice.

  123. def lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int

    Finds index of last element satisfying some predicate before or at given end index.

  124. def lastIndexWhere(p: (A) ⇒ Boolean): Int

    Finds index of last element satisfying some predicate.

  125. def lastOption: Option[A]

    Optionally selects the last element.

  126. def length: Int

    The length of the buffer.

  127. def lengthCompare(len: Int): Int

    Compares the length of this buffer to a test value.

  128. def lift: (Int) ⇒ Option[A]

    Turns this partial function into an plain function returning an Option result.

  129. def map[B](f: (A) ⇒ B): Traversable[B]

    [use case] Builds a new collection by applying a function to all elements of this buffer.

  130. def map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Builds a new collection by applying a function to all elements of this buffer.

  131. def max: A

    [use case] Finds the largest element.

  132. def max[B >: A](implicit cmp: Ordering[B]): A

    Finds the largest element.

  133. def min: A

    [use case] Finds the smallest element.

  134. def min[B >: A](implicit cmp: Ordering[B]): A

    Finds the smallest element.

  135. def mkString: String

    Displays all elements of this buffer in a string.

  136. def mkString(sep: String): String

    Displays all elements of this buffer in a string using a separator string.

  137. def mkString(start: String, sep: String, end: String): String

    Displays all elements of this buffer in a string using start, end, and separator strings.

  138. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  139. def newBuilder: Builder[A, Buffer[A]]

    The builder that builds instances of type Buffer[A]

  140. def nonEmpty: Boolean

    Tests whether the buffer is not empty.

  141. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  142. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  143. def orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Composes this partial function with a fallback partial function which gets applied where this partial function is not defined.

  144. def padTo(len: Int, elem: A): Seq[A]

    [use case] Appends an element value to this buffer until a given target length is reached.

  145. def padTo[B >: A, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Appends an element value to this buffer until a given target length is reached.

  146. def partition(p: (A) ⇒ Boolean): (Buffer[A], Buffer[A])

    Partitions this buffer in two buffers according to a predicate.

  147. def patch(from: Int, that: Seq[A], replaced: Int): Seq[A]

    [use case] Produces a new buffer where a slice of elements in this buffer is replaced by another sequence.

  148. def patch[B >: A, That](from: Int, patch: Seq[B], replaced: Int)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Produces a new buffer where a slice of elements in this buffer is replaced by another sequence.

  149. def prefixLength(p: (A) ⇒ Boolean): Int

    Returns the length of the longest prefix whose elements all satisfy some predicate.

  150. def prepend(elems: A*): Unit

    Prepends given elements to this buffer.

  151. def prependAll(xs: TraversableOnce[A]): Unit

    Prepends the elements contained in a traversable object to this buffer.

  152. def product: Int

    [use case] Multiplies up the elements of this collection.

  153. def product[B >: A](implicit num: Numeric[B]): B

    Multiplies up the elements of this collection.

  154. def productArity: Int

    return k for a product A(x_1,.

  155. def productElement(arg0: Int): Any

    For a product A(x_1,.

  156. def productElements: Iterator[Any]

  157. def productIterator: Iterator[Any]

    An iterator that returns all fields of this product

  158. def productPrefix: String

    By default the empty string.

  159. def projection: SeqView[A, Buffer[A]]

    returns a projection that can be used to call non-strict filter,map, and flatMap methods that build projections of the collection.

  160. def readOnly: Seq[A]

    Provide a read-only view of this buffer as a sequence

  161. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Applies a binary operator to all elements of this buffer, going left to right.

  162. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this buffer, going left to right.

  163. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Applies a binary operator to all elements of this buffer, going right to left.

  164. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this buffer, going right to left.

  165. def remove(i: Int): A

    Removes the element at a given index from this buffer.

  166. def remove(n: Int, count: Int): Unit

    Removes a number of elements from a given index position.

  167. def repr: Buffer[A]

    The collection of type buffer underlying this TraversableLike object.

  168. def result: JListWrapper[A]

  169. def reverse: Buffer[A]

    Returns new buffer wih elements in reversed order.

  170. def reverseIterator: Iterator[A]

    An iterator yielding elements in reversed order.

  171. def reverseMap[B](f: (A) ⇒ B): Seq[B]

    [use case] Builds a new collection by applying a function to all elements of this buffer and collecting the results in reversed order.

  172. def reverseMap[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Builds a new collection by applying a function to all elements of this buffer and collecting the results in reversed order.

  173. def reversed: List[A]

  174. def reversedElements: Iterator[A]

  175. def sameElements(that: Iterable[A]): Boolean

    [use case] Checks if the other iterable collection contains the same elements in the same order as this buffer.

  176. def sameElements[B >: A](that: Iterable[B]): Boolean

    Checks if the other iterable collection contains the same elements in the same order as this buffer.

  177. def scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Produces a collection containing cummulative results of applying the operator going left to right.

  178. def scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Produces a collection containing cummulative results of applying the operator going right to left.

  179. def segmentLength(p: (A) ⇒ Boolean, from: Int): Int

    Computes length of longest segment whose elements all satisfy some predicate.

  180. def size: Int

    The size of this buffer, equivalent to length.

  181. def slice(from: Int, until: Int): Buffer[A]

    Selects an interval of elements.

  182. def sliding[B >: A](size: Int, step: Int): Iterator[Buffer[A]]

  183. def sliding[B >: A](size: Int): Iterator[Buffer[A]]

    Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped.

  184. def sortBy[B](f: (A) ⇒ B)(implicit ord: Ordering[B]): Buffer[A]

    Sorts this Buffer according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.

  185. def sortWith(lt: (A, A) ⇒ Boolean): Buffer[A]

    Sorts this buffer according to a comparison function.

  186. def sorted[B >: A](implicit ord: Ordering[B]): Buffer[A]

    Sorts this buffer according to an Ordering.

  187. def span(p: (A) ⇒ Boolean): (Buffer[A], Buffer[A])

    Splits this buffer into a prefix/suffix pair according to a predicate.

  188. def splitAt(n: Int): (Buffer[A], Buffer[A])

    Splits this buffer into two at a given position.

  189. def startsWith[B](that: Seq[B]): Boolean

    Tests whether this buffer starts with the given sequence.

  190. def startsWith[B](that: Seq[B], offset: Int): Boolean

    Tests whether this buffer contains the given sequence at a given index.

  191. def stringPrefix: String

    Defines the prefix of this object's toString representation.

  192. def sum: Int

    [use case] Sums up the elements of this collection.

  193. def sum[B >: A](implicit num: Numeric[B]): B

    Sums up the elements of this collection.

  194. def synchronized[T0](arg0: T0): T0

  195. def tail: Buffer[A]

    Selects all elements except the first.

  196. def take(n: Int): Buffer[A]

    Selects first n elements.

  197. def takeRight(n: Int): Buffer[A]

    Selects last n elements.

  198. def takeWhile(p: (A) ⇒ Boolean): Buffer[A]

    Takes longest prefix of elements that satisfy a predicate.

  199. def thisCollection: Seq[A]

    The underlying collection seen as an instance of Buffer.

  200. def toArray: Array[A]

    [use case] Converts this buffer to an array.

  201. def toArray[B >: A](implicit arg0: ClassManifest[B]): Array[B]

    Converts this buffer to an array.

  202. def toBuffer[B >: A]: Buffer[B]

    Converts this buffer to a mutable buffer.

  203. def toCollection(repr: Buffer[A]): Seq[A]

    A conversion from collections of type Repr to Buffer objects.

  204. def toIndexedSeq[B >: A]: IndexedSeq[B]

    Converts this buffer to an indexed sequence.

  205. def toIterable: Iterable[A]

    Converts this buffer to an iterable collection.

  206. def toIterator: Iterator[A]

    Returns an Iterator over the elements in this buffer.

  207. def toList: List[A]

    Converts this buffer to a list.

  208. def toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]

    Converts this buffer to a map.

  209. def toSeq: Seq[A]

    Converts this buffer to a sequence.

  210. def toSet[B >: A]: Set[B]

    Converts this buffer to a set.

  211. def toStream: Stream[A]

    Converts this buffer to a stream.

  212. def toString(): String

    Converts this buffer to a string.

  213. def toTraversable: Traversable[A]

    Converts this buffer to an unspecified Traversable.

  214. def transpose[B](implicit asTraversable: (A) ⇒ Traversable[B]): Buffer[Buffer[B]]

    Transposes this buffer of traversable collections into a buffer of buffers.

  215. def trimEnd(n: Int): Unit

    Removes the last n elements of this buffer.

  216. def trimStart(n: Int): Unit

    Removes the first n elements of this buffer.

  217. val underlying: List[A]

  218. def union(that: Seq[A]): Seq[A]

    [use case] Produces a new sequence which contains all elements of this buffer and also all elements of a given sequence.

  219. def union[B >: A, That](that: Seq[B])(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    Produces a new sequence which contains all elements of this buffer and also all elements of a given sequence.

  220. def unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (Buffer[A1], Buffer[A2])

    Converts this buffer of pairs into two collections of the first and second halfs of each pair.

  221. def update(i: Int, elem: A): Unit

    Replaces element at given index with a new value.

  222. def updated(index: Int, elem: A): Seq[A]

    [use case] A copy of this buffer with one single replaced element.

  223. def updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Buffer[A], B, That]): That

    A copy of this buffer with one single replaced element.

  224. def view(from: Int, until: Int): SeqView[A, Buffer[A]]

    Creates a non-strict view of a slice of this buffer.

  225. def view: SeqView[A, Buffer[A]]

    Creates a non-strict view of this buffer.

  226. def wait(): Unit

  227. def wait(arg0: Long, arg1: Int): Unit

  228. def wait(arg0: Long): Unit

  229. def withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, Buffer[A]]

    Creates a non-strict filter of this buffer.

  230. def zip[B](that: Iterable[B]): Iterable[(A, B)]

    [use case] Returns a buffer formed from this buffer and another iterable collection by combining corresponding elements in pairs.

  231. def zip[A1 >: A, B, That](that: Iterable[B])(implicit bf: CanBuildFrom[Buffer[A], (A1, B), That]): That

    Returns a buffer formed from this buffer and another iterable collection by combining corresponding elements in pairs.

  232. def zipAll[B](that: Iterable[B], thisElem: A, thatElem: B): Iterable[(A, B)]

    [use case] Returns a buffer formed from this buffer and another iterable collection by combining corresponding elements in pairs.

  233. def zipAll[B, A1 >: A, That](that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Buffer[A], (A1, B), That]): That

    Returns a buffer formed from this buffer and another iterable collection by combining corresponding elements in pairs.

  234. def zipWithIndex: Iterable[(A, Int)]

    [use case] Zips this buffer with its indices.

  235. def zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[Buffer[A], (A1, Int), That]): That

    Zips this buffer with its indices.