in scala.collection.mutable
trait BufferProxy

`abstract trait` BufferProxy [A]
  `extends` java.lang.Object
  `with` scala.collection.mutable.Buffer[A]
  `with` scala.Proxy
  `with` scala.ScalaObject

  This is a simple proxy class for `scala.collection.mutable.Buffer`. It is most useful for assembling customized set abstractions dynamically using object composition and forwarding.

Author:
  Matthias Zenger
Version:
  1.0, 16/04/2004

Def Summary
`override` | `def` + (elem: A) : scala.collection.mutable.Buffer[A] Append a single element to this buffer and return the identity of the buffer.
`override` | `def` ++ (iter: scala.Iterable[A]) : scala.collection.mutable.Buffer[A] Appends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.
`override` | `def` ++: (iter: scala.Iterable[A]) : scala.collection.mutable.Buffer[A] Prepends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.
`override` | `def` ++= (iter: scala.Iterable[A]) : scala.Unit Appends a number of elements provided by an iterable object via its `elements` method.
| `def` +: (elem: A) : scala.collection.mutable.Buffer[A] Prepend a single element to this buffer and return the identity of the buffer.
| `def` += (elem: A) : scala.Unit Append a single element to this buffer.
`override` | `def` << (cmd: scala.collection.mutable.Message[scala.Tuple2[scala.collection.mutable.Location, A]]) : scala.Unit Send a message to this scriptable object.
`override` | `def` append (elems: A*) : scala.Unit Appends a sequence of elements to this buffer.
`override` | `def` appendAll (iter: scala.Iterable[A]) : scala.Unit Appends a number of elements provided by an iterable object via its `elements` method.
| `def` apply (n: scala.Int) : A
| `def` clear : scala.Unit Clears the buffer contents.
`override` | `def` clone : scala.collection.mutable.Buffer[A] Return a clone of this buffer.
| `def` elements : scala.Iterator[A]
`override` | `def` insert (n: scala.Int, elems: A*) : scala.Unit Inserts new elements at the index `n`. Opposed to method `update`, this method will not replace an element with a one. Instead, it will insert the new elements at index `n`.
| `def` insertAll (n: scala.Int, iter: scala.Iterable[A]) : scala.Unit Inserts new elements at the index `n`. Opposed to method `update`, this method will not replace an element with a one. Instead, it will insert a new element at index `n`.
| `def` length : scala.Int
`override` | `def` prepend (elems: A*) : scala.Unit Prepend an element to this list.
`override` | `def` prependAll (elems: scala.Iterable[A]) : scala.Unit Prepends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.
| `def` remove (n: scala.Int) : A Removes the element on a given index position.
`abstract` | `def` self : scala.collection.mutable.Buffer[A]
| `def` update (n: scala.Int, newelem: A) : scala.Unit Replace element at index `n` with the new element `newelem`.

Def inherited from scala.collection.mutable.Buffer[A]
+ , ++, ++, ++:, ++=, ++=, ++=, +:, +=, -=, <<, append, appendAll, clear, clone, hashCode, insert, insertAll, prepend, prependAll, remove, stringPrefix, super$clone, trimEnd, trimStart, update

Def inherited from scala.Proxy
equals , hashCode, self, toString

Def Detail

`override def` + (elem: A): scala.collection.mutable.Buffer[A]

  Append a single element to this buffer and return the identity of the buffer.

Parameters:
  `elem -` the element to append.
Returns:
  the updated buffer.

`override def` ++ (iter: scala.Iterable[A]): scala.collection.mutable.Buffer[A]

  Appends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.

Parameters:
  `iter -` the iterable object.
Returns:
  the updated buffer.

`override def` ++: (iter: scala.Iterable[A]): scala.collection.mutable.Buffer[A]

  Prepends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.

Parameters:
  `iter -` the iterable object.

`override def` ++= (iter: scala.Iterable[A]): scala.Unit

  Appends a number of elements provided by an iterable object via its `elements` method.

Parameters:
  `iter -` the iterable object.

`def` +: (elem: A): scala.collection.mutable.Buffer[A]

  Prepend a single element to this buffer and return the identity of the buffer.

Parameters:
  `elem -` the element to append.

`def` += (elem: A): scala.Unit

  Append a single element to this buffer.

Parameters:
  `elem -` the element to append.

`override def` << (cmd: scala.collection.mutable.Message[scala.Tuple2[scala.collection.mutable.Location, A]]): scala.Unit

  Send a message to this scriptable object.

Parameters:
  `cmd -` the message to send.

`override def` append (elems: A*): scala.Unit

  Appends a sequence of elements to this buffer.

Parameters:
  `elems -` the elements to append.

`override def` appendAll (iter: scala.Iterable[A]): scala.Unit

  Appends a number of elements provided by an iterable object via its `elements` method.

Parameters:
  `iter -` the iterable object.

`def` apply (n: scala.Int): A

`def` clear : scala.Unit

  Clears the buffer contents.

`override def` clone : scala.collection.mutable.Buffer[A]

  Return a clone of this buffer.

Returns:
  a `Buffer` with the same elements.

`def` elements : scala.Iterator[A]

`override def` insert (n: scala.Int, elems: A*): scala.Unit

  Inserts new elements at the index `n`. Opposed to method `update`, this method will not replace an element with a one. Instead, it will insert the new elements at index `n`.

Parameters:
  `n -` the index where a new element will be inserted.
Parameters:
  `elems -` the new elements to insert.

`def` insertAll (n: scala.Int, iter: scala.Iterable[A]): scala.Unit

  Inserts new elements at the index `n`. Opposed to method `update`, this method will not replace an element with a one. Instead, it will insert a new element at index `n`.

Parameters:
  `n -` the index where a new element will be inserted.
Parameters:
  `iter -` the iterable object providing all elements to insert.

`def` length : scala.Int

`override def` prepend (elems: A*): scala.Unit

  Prepend an element to this list.

Parameters:
  `elem -` the element to prepend.

`override def` prependAll (elems: scala.Iterable[A]): scala.Unit

  Prepends a number of elements provided by an iterable object via its `elements` method. The identity of the buffer is returned.

Parameters:
  `iter -` the iterable object.

`def` remove (n: scala.Int): A

  Removes the element on a given index position.

Parameters:
  `n -` the index which refers to the element to delete.

`abstract def` self : scala.collection.mutable.Buffer[A]

`def` update (n: scala.Int, newelem: A): scala.Unit

  Replace element at index `n` with the new element `newelem`.

Parameters:
  `n -` the index of the element to replace.
Parameters:
  `newelem -` the new element.