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.
Flattens a two-dimensional array by concatenating all its rows into a single array.
Flattens a two-dimensional array by concatenating all its rows into a single array.
An array obtained by concatenating rows of this array.
Wrap array into collection.
Wrap array into collection.
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.
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.
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.
collection which is used as the source of items
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.
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.
projection function executed for each element of left
projection function executed for each element of right
projection function which is executed for matching items (K, L) and (K, R) with the same K
collection of (K, O) pairs, where each key comes form either left or right collection and values are produced by projections
2.0
Creates a new collection by replicating value v
.
Creates a new collection by replicating value v
.
how many times to replicate value v
value to replicate
collection of the form (v, v, v, ... v) of n elements.
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).
Element-wise xor of two collections.