in scala.collection.mutable
class ResizableArray

mixin abstract class ResizableArray [ A ]
extends java.lang.Object
with scala.Seq[A]
with scala.ScalaObject
This class is used internally to implement data structures that are based on resizable arrays.
author:
Matthias Zenger, Burak Emir
version:
1.0, 03/05/2004

Def Summary
def apply ( i : scala.Int ) : A

protected def copy ( m : scala.Int , n : scala.Int , len : scala.Int ) : scala.Unit
Move parts of the array.
def elements : scala.Iterator[A]
Returns a new iterator over all elements of this resizable array.
protected def ensureSize ( n : scala.Int ) : scala.Unit
ensure that the internal array has at n cells
def length : scala.Int
Returns the length of this resizable array.
protected def swap ( a : scala.Int , b : scala.Int ) : scala.Unit
Swap two elements of this array.
override def toArray [ A <: B ] : scala.Array[B]



Def Detail
def apply ( i : scala.Int ) : A

protected def copy ( m : scala.Int , n : scala.Int , len : scala.Int ) : scala.Unit
Move parts of the array.

def elements : scala.Iterator[A]
Returns a new iterator over all elements of this resizable array.

protected def ensureSize ( n : scala.Int ) : scala.Unit
ensure that the internal array has at n cells

def length : scala.Int
Returns the length of this resizable array.

protected def swap ( a : scala.Int , b : scala.Int ) : scala.Unit
Swap two elements of this array.

override def toArray [ A <: B ] : scala.Array[B]