|
Scala 2.3.0
|
abstract
trait
ResizableArray
[A]
extends
java.lang.Object
with
scala.Seq[A]
with
scala.ScalaObject
Val Summary | |
protected
|
val
initialSize
: scala.Int
|
Var Summary | |
protected
|
var
array
: scala.Array[A]
|
protected
|
var
size
: scala.Int
|
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
[B >: A]
: scala.Array[B]
|
Def inherited from scala.Seq[A] | |
concat , copyToArray, drop, isDefinedAt, isEmpty, lastIndexOf, length, mkString, stringPrefix, subseq, take, toArray, toString |
Val Detail |
Var Detail |
Def Detail |
protected
def
copy
(m: scala.Int, n: scala.Int, len: scala.Int): scala.Unit
def
elements
: scala.Iterator[A]
protected
def
ensureSize
(n: scala.Int): scala.Unit
def
length
: scala.Int
protected
def
swap
(a: scala.Int, b: scala.Int): scala.Unit
override
def
toArray
[B >: A]: scala.Array[B]