scalax.data

class FastArrayBuffer

[source: scalax/data/FastArrayBuffer.scala]

class FastArrayBuffer[A]
extends scala.RandomAccessSeq.Mutable[A] with scala.collection.mutable.Buffer[A]
A more efficient re-implementation of ArrayBuffer.
Method Summary
override def ++ [B >: A](iter : scala.Iterable[B]) : FastArrayBuffer[B]
override def ++= (iter : scala.Iterable[A]) : Unit
override def ++= (src : scala.Array[A], s : Int, n : Int) : Unit
def +: (e : A) : FastArrayBuffer[A]
def += (x : A) : Unit
def apply (i : Int) : A
def clear : Unit
override def clone : FastArrayBuffer[A]
This method creates and returns a copy of the receiver object.
override def elements : scala.Iterator[A]
def insertAll (i : Int, iter : scala.Iterable[A]) : Unit
def length : Int
def remove (i : Int) : A
def update (i : Int, x : A) : Unit
Methods inherited from scala.collection.mutable.Buffer
scala.collection.mutable.Buffer.+, scala.collection.mutable.Buffer.++=, scala.collection.mutable.Buffer.++, scala.collection.mutable.Buffer.++, scala.collection.mutable.Buffer.++:, scala.collection.mutable.Buffer.-=, scala.collection.mutable.Buffer.append, scala.collection.mutable.Buffer.appendAll, scala.collection.mutable.Buffer.prepend, scala.collection.mutable.Buffer.prependAll, scala.collection.mutable.Buffer.insert, scala.collection.mutable.Buffer.trimStart, scala.collection.mutable.Buffer.trimEnd, scala.collection.mutable.Buffer.<<, scala.collection.mutable.Buffer.hashCode, scala.collection.mutable.Buffer.stringPrefix
Methods inherited from scala.RandomAccessSeq.Mutable
scala.RandomAccessSeq.Mutable.projection, scala.RandomAccessSeq.Mutable.readOnly, scala.RandomAccessSeq.Mutable.drop, scala.RandomAccessSeq.Mutable.take, scala.RandomAccessSeq.Mutable.slice, scala.RandomAccessSeq.Mutable.reverse
Methods inherited from scala.RandomAccessSeq
scala.RandomAccessSeq.partition, scala.RandomAccessSeq.patch, scala.RandomAccessSeq.toStream, scala.RandomAccessSeq.safeIs
Methods inherited from scala.Seq
scala.Seq.lengthCompare, scala.Seq.size, scala.Seq.isEmpty, scala.Seq.concat, scala.Seq.last, scala.Seq.lastOption, scala.Seq.first, scala.Seq.firstOption, scala.Seq.headOption, scala.Seq.isDefinedAt, scala.Seq.lastIndexOf, scala.Seq.findIndexOf, scala.Seq.indexOf, scala.Seq.map, scala.Seq.flatMap, scala.Seq.filter, scala.Seq.slice, scala.Seq.takeWhile, scala.Seq.dropWhile, scala.Seq.contains, scala.Seq.subseq, scala.Seq.toArray, scala.Seq.toSeq, scala.Seq.equalsWith, scala.Seq.startsWith, scala.Seq.startsWith, scala.Seq.endsWith, scala.Seq.indexOf, scala.Seq.containsSlice
Methods inherited from scala.Collection
scala.Collection.toString
Methods inherited from scala.Iterable
scala.Iterable.foreach, scala.Iterable.forall, scala.Iterable.exists, scala.Iterable.find, scala.Iterable.foldLeft, scala.Iterable.foldRight, scala.Iterable./:, scala.Iterable.:\, scala.Iterable.reduceLeft, scala.Iterable.reduceRight, scala.Iterable.copyToBuffer, scala.Iterable.sameElements, scala.Iterable.toList, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.copyToArray, scala.Iterable.hasDefiniteSize
Methods inherited from scala.PartialFunction
scala.PartialFunction.orElse, scala.PartialFunction.andThen
Methods inherited from scala.Function1
scala.Function1.compose
Methods inherited from AnyRef
getClass, equals, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def length : Int

def apply(i : Int) : A

def update(i : Int, x : A) : Unit
Overrides
scala.RandomAccessSeq.Mutable.scala.RandomAccessSeq.Mutable.update, scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.update

override def elements : scala.Iterator[A]

def +=(x : A) : Unit
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.+=

override def ++=(iter : scala.Iterable[A]) : Unit
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.++=

override def ++=(src : scala.Array[A], s : Int, n : Int) : Unit
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.++=

override def ++[B >: A](iter : scala.Iterable[B]) : FastArrayBuffer[B]
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.++

def +:(e : A) : FastArrayBuffer[A]
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.+:

def insertAll(i : Int, iter : scala.Iterable[A]) : Unit
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.insertAll

def remove(i : Int) : A
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.remove

def clear : Unit
Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.clear

override def clone : FastArrayBuffer[A]
This method creates and returns a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Returns
a copy of the receiver object.

Overrides
scala.collection.mutable.Buffer.scala.collection.mutable.Buffer.clone


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.