(Changed in version 2.8.0) ++ creates a new buffer. Use ++= to add an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) - creates a new buffer. Use -= to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) - creates a new buffer. Use -= to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) -- creates a new buffer. Use --= to remove an element from this buffer and return that buffer itself.
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
(safeBuffer: MonadOps[A]).filter(p)
(safeBuffer: MonadOps[A]).flatMap(f)
(safeBuffer: MonadOps[A]).map(f)
(safeBuffer: MonadOps[A]).withFilter(p)
(Since version 2.11.0) Scripting is deprecated.
(Since version 2.11.0) The returned sequence changes as this buffer is mutated. For an immutable copy, use, e.g., toList.
Similar to scala.collection.mutable.ArrayBuffer, except that this SafeBuffer allows adding or removing elements via += and -= inside a foreach block.
A java.lang.IllegalStateException will be thrown when invoking methods other than += and -= in a foreach block.