package array
- Alphabetic
- Public
- All
Type Members
- case class IAEmpty[+A]() extends ImmutableArrayProxy[A] with Product with Serializable
- case class IAOne[+A](one: A) extends ImmutableArrayProxy[A] with Product with Serializable
- case class IAThree[+A](one: A, two: A, three: A) extends ImmutableArrayProxy[A] with Product with Serializable
- case class IATwo[+A](one: A, two: A) extends ImmutableArrayProxy[A] with Product with Serializable
-
case class
ImmutableArray[+A](base: Array[AnyRef], offset: Int, len: Int) extends ImmutableArrayT[A] with Product with Serializable
Object arrays are just faster, System.arraycopy doesn't trust you and will type check everything, we can let nsc do that job for us.
-
case class
ImmutableArrayAll[+A](base: Array[AnyRef]) extends ImmutableArrayT[A] with Product with Serializable
Don't add the offset and length, for building a dom this save 8 per elem, only matters for large docs (can save 4mb from 54mb), but can't hurt small ones.
-
final
class
ImmutableArrayBuilder[A] extends Builder[A, ImmutableArray[A]]
Behaves like an ArrayList/ArrayBuffer, growing an internal array as necessary
-
trait
ImmutableArrayT[+A] extends ImmutableArrayProxy[A]
Object arrays are just faster, System.arraycopy doesn't trust you and will type check everything, we can let nsc do that job for us.
Object arrays are just faster, System.arraycopy doesn't trust you and will type check everything, we can let nsc do that job for us.
Same as ImmutableArray but for when the base is the entire collection, no offset or len are then needed
-
case class
VectorImpl[+A](ar: Vector[A]) extends ImmutableArrayProxy[A] with Product with Serializable
Proxy Vector.
Proxy Vector. When its in Vector it stays in Vector.
Value Members
- object ImmutableArray extends Serializable