|
Scala 2.3.2
|
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. |
override
|
def
copyToArray
[B >: A]
(xs: scala.Array[B], start: scala.Int)
: scala.Unit
Fills the given array xs with the elements of
this sequence starting at position start .
|
override
|
def
copyToBuffer
[B >: A]
(dest: scala.collection.mutable.Buffer[B])
: scala.Unit
Copy all elements to a buffer |
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. |
Def inherited from scala.Seq[A] | |
++ , concat, contains, copyToArray, drop, dropWhile, filter, flatMap, isDefinedAt, isEmpty, lastIndexOf, length, map, reverse, slice, stringPrefix, subseq, super$drop, super$dropWhile, super$filter, super$take, super$takeWhile, take, takeWhile, toArray, toString |
Val Detail |
Var Detail |
Def Detail |
protected
def
copy
(m: scala.Int, n: scala.Int, len: scala.Int): scala.Unit
override
def
copyToArray
[B >: A](xs: scala.Array[B], start: scala.Int): scala.Unit
xs
with the elements of
this sequence starting at position start
.xs -
the array to fill.
start -
starting index.
override
def
copyToBuffer
[B >: A](dest: scala.collection.mutable.Buffer[B]): scala.Unit
The -
buffer to which elements are copied
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