Class

special.collection

CollOverArrayBuilder

Related Doc: package collection

Permalink

class CollOverArrayBuilder extends CollBuilder

Linear Supertypes
CollBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollOverArrayBuilder
  2. CollBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CollOverArrayBuilder()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Monoids: MonoidBuilder

    Permalink

    Monoid builder associated with this collections builder.

    Monoid builder associated with this collections builder. It should be used to create monoids which are required by some of the Coll methods.

    Definition Classes
    CollOverArrayBuilderCollBuilder
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def emptyColl[T](implicit cT: RType[T]): Coll[T]

    Permalink

    Create an empty collection with items of the given type.

    Create an empty collection with items of the given type. Even though there are no items, the type of them is specified.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flattenColl[A](coll: Coll[Coll[A]])(implicit arg0: RType[A]): Coll[A]

    Permalink

    Flattens a two-dimensional collection by concatenating all its rows into a single collection.

    Flattens a two-dimensional collection by concatenating all its rows into a single collection.

    A

    Type of row elements.

    returns

    An array obtained by concatenating rows of this array.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  12. def fromArray[T](arr: Array[T])(implicit arg0: RType[T]): Coll[T]

    Permalink

    Wrap array into collection.

    Wrap array into collection.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  13. def fromItems[T](items: T*)(implicit cT: RType[T]): Coll[T]

    Permalink

    Construct a new collection from the given list of arguments.

    Construct a new collection from the given list of arguments. The arguments should be of the same type for which there should be an implicit type descriptor at the call site.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline() @Reified()
  14. def fromMap[K, V](m: Map[K, V])(implicit arg0: RType[K], arg1: RType[V]): Coll[(K, V)]

    Permalink

    Construct a collection of (K,V) pairs using PairColl representation, in which keys and values are stored as separate unboxed arrays.

    Construct a collection of (K,V) pairs using PairColl representation, in which keys and values are stored as separate unboxed arrays.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @Internal()
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def makePartialView[A, B](source: Coll[A], f: (A) ⇒ B, calculated: Array[Boolean], calculatedItems: Array[B])(implicit arg0: RType[B]): Coll[B]

    Permalink

    Create a new view using pre-calculated results of f.

    Create a new view using pre-calculated results of f.

    source

    the collection the view is based on.

    f

    view function, which transforms each pre-image element to the corresponding image element of the resulting collection

    calculated

    array of flags marking which element where pre-calculated

    calculatedItems

    pre-calculated images to be used in the resulting collection so that calculated.length == calculatedItems.length

    returns

    collection of images of f

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  19. def makeView[A, B](source: Coll[A], f: (A) ⇒ B)(implicit arg0: RType[B]): Coll[B]

    Permalink

    Create a new collection in which every item is executed lazily form the corresponding item of the source collection.

    Create a new collection in which every item is executed lazily form the corresponding item of the source collection.

    source

    collection which is used as the source of items

    f

    function to compute each item of this collection from the source item This is O(1) operation, all executions of f are delayed until the corresponding item of this collection is needed in some operation.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def outerJoin[K, L, R, O](left: Coll[(K, L)], right: Coll[(K, R)])(l: ((K, L)) ⇒ O, r: ((K, R)) ⇒ O, inner: ((K, (L, R))) ⇒ O)(implicit arg0: RType[K], arg1: RType[O]): Coll[(K, O)]

    Permalink

    Performs outer join operation between left and right collections.

    Performs outer join operation between left and right collections. This is a restricted version of relational join operation. It expects left and right collections have distinct K values in pairs (otherwise exception is thrown). Under this condition resulting collection has size <= left.size + right.size.

    l

    projection function executed for each element of left

    r

    projection function executed for each element of right

    inner

    projection function which is executed for matching items (K, L) and (K, R) with the same K

    returns

    collection of (K, O) pairs, where each key comes form either left or right collection and values are produced by projections

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
    Since

    2.0

  24. def pairColl[A, B](as: Coll[A], bs: Coll[B]): PairColl[A, B]

    Permalink

    Constructs a new collection of pairs out of the pair of collections by zipping them.

    Constructs a new collection of pairs out of the pair of collections by zipping them. The resulting collection is semantically equivalent to as.zip(bs).

    as

    collection of first items

    bs

    collection of second items

    returns

    an instance of PairColl interface with represents the resulting collection of pairs.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @inline()
  25. def pairCollFromArrays[A, B](as: Array[A], bs: Array[B])(implicit arg0: RType[A], arg1: RType[B]): PairColl[A, B]

    Permalink

    Constructs a new collection of pairs out of the pair of arrays by wrapping them in collections and delegating to pairColl method.

    Constructs a new collection of pairs out of the pair of arrays by wrapping them in collections and delegating to pairColl method. The resulting collection is semantically equivalent to as.zip(bs).

    as

    collection of first items

    bs

    collection of second items

    returns

    an instance of PairColl interface with represents the resulting collection of pairs.

    Definition Classes
    CollBuilder
    Annotations
    @Internal()
  26. def replicate[T](n: Int, v: T)(implicit arg0: RType[T]): Coll[T]

    Permalink

    Creates a new collection by replicating value v.

    Creates a new collection by replicating value v.

    n

    how many times to replicate value v

    v

    value to replicate

    returns

    collection of the form (v, v, v, ... v) of n elements.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def unzip[A, B](xs: Coll[(A, B)]): (Coll[A], Coll[B])

    Permalink

    Deconstruct collection of (A,B) pairs into pair of collections.

    Deconstruct collection of (A,B) pairs into pair of collections. If xs is represented as PairColl, then this is O(1) operation (no data is touched).

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def xor(left: Coll[Byte], right: Coll[Byte]): Coll[Byte]

    Permalink

    Element-wise xor of two collections.

    Element-wise xor of two collections.

    Definition Classes
    CollOverArrayBuilderCollBuilder
    Annotations
    @NeverInline()

Inherited from CollBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped