Package

scales.utils.collection

array

Permalink

package array

Visibility
  1. Public
  2. All

Type Members

  1. case class IAEmpty[+A]() extends ImmutableArrayProxy[A] with Product with Serializable

    Permalink
  2. case class IAOne[+A](one: A) extends ImmutableArrayProxy[A] with Product with Serializable

    Permalink
  3. case class IAThree[+A](one: A, two: A, three: A) extends ImmutableArrayProxy[A] with Product with Serializable

    Permalink
  4. case class IATwo[+A](one: A, two: A) extends ImmutableArrayProxy[A] with Product with Serializable

    Permalink
  5. case class ImmutableArray[+A](base: Array[AnyRef], offset: Int, len: Int) extends ImmutableArrayT[A] with Product with Serializable

    Permalink

    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.

  6. case class ImmutableArrayAll[+A](base: Array[AnyRef]) extends ImmutableArrayT[A] with Product with Serializable

    Permalink

    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.

  7. final class ImmutableArrayBuilder[A] extends Builder[A, ImmutableArray[A]]

    Permalink

    Behaves like an ArrayList/ArrayBuffer, growing an internal array as necessary

  8. trait ImmutableArrayT[+A] extends ImmutableArrayProxy[A]

    Permalink

    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

  9. case class VectorImpl[+A](ar: Vector[A]) extends ImmutableArrayProxy[A] with Product with Serializable

    Permalink

    Proxy Vector.

    Proxy Vector. When its in Vector it stays in Vector.

Value Members

  1. object ImmutableArray extends Serializable

    Permalink

Ungrouped