scala.collection.jcl.Buffer
class Range

[source: `scala/collection/jcl/Buffer.scala`]

`protected` `class` Range(`val` from : Option[Int], `val` until : Option[Int])
  `extends` Buffer[A]

Direct Known Subclasses:
  BufferWrapper.Range

Method Summary
`override def` | add (idx : Int, a : A) : Unit Inserts "a" into this buffer just before the element at index "idx."
`override def` | add (a : A) : Boolean
`override def` | apply (idx : Int) : A
`override def` | elements : BufferIterator[Int, A] The default implementation of a map over mutable iterable collections.
`override def` | length : Int Returns the length of the sequence.
`override def` | remove (idx : Int) : A Removes the element at index "idx"
`override def` | set (idx : Int, a : A) : A Replaces the element at index "idx" with "a."

Methods inherited from Buffer
projection, firstKey, lastKey, compare, update, addAll, transform, +, -=, isEmpty, rangeImpl

Methods inherited from Collection
hasAll, addAll, ++, +=

Methods inherited from MutableSeq
indexOf

Methods inherited from Seq
size, concat, last, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, takeWhile, dropWhile, reverse, contains, slice, subseq, toArray

Methods inherited from PartialFunction
orElse, andThen

Methods inherited from Function1
toString, compose

Methods inherited from Ranged
from, until, range

Methods inherited from MutableIterable
has, remove, removeAll, --, -, retain, retainAll, size0, clear

Methods inherited from Collection
stringPrefix, equalWith

Methods inherited from Iterable
foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Class Summary
`class` | RangeIterator `extends` BufferIterator[Int, A]

Method Details

`override` `def` add(a : A) : Boolean

Returns
  s always true.

Overrides
  Buffer.add

`override` `def` apply(idx : Int) : A

`override` `def` set(idx : Int, a : A) : A

  Replaces the element at index "idx" with "a."

Returns
  s the element replaced.

Overrides
  Buffer.set

`override` `def` add(idx : Int, a : A) : Unit

  Inserts "a" into this buffer just before the element at index "idx."

Overrides
  Buffer.add

`override` `def` remove(idx : Int) : A

  Removes the element at index "idx"

Overrides
  Buffer.remove

`override` `def` length : Int

  Returns the length of the sequence.

Returns
  the sequence length.

`override` `def` elements : BufferIterator[Int, A]

  The default implementation of a map over mutable iterable collections.

Overrides
  Buffer.elements