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
`def` | elements : BufferIterator[Int, A] Creates a new iterator over all elements contained in this object.
`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, first, last, compare, update, addAll, transform, +, -=, isEmpty, rangeImpl

Methods inherited from Ranged
from, until, range

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

Methods inherited from MutableSeq
indexOf

Methods inherited from Seq
size, concat, ++, 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 MutableIterable
has, remove, removeAll, --, -, retain, retainAll, size0, clear

Methods inherited from Collection
stringPrefix

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.

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

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

Returns
  the new iterator

Overrides
  Buffer.elements