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.
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 collection by concatenating all its rows into a single collection.
Flattens a two-dimensional collection by concatenating all its rows into a single collection.
Type of row elements.
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 view using pre-calculated results of f
.
Create a new view using pre-calculated results of f
.
the collection the view is based on.
view function, which transforms each pre-image element to the
corresponding image
element of the resulting collection
array of flags marking which element where pre-calculated
pre-calculated images to be used in the resulting collection
so that calculated.length == calculatedItems.length
collection of images of f
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
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)
.
collection of first items
collection of second items
an instance of PairColl interface with represents the resulting collection of pairs.
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.
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).
collection of first items
collection of second items
an instance of PairColl interface with represents the resulting collection of pairs.
(Since version ) see corresponding Javadoc for more information.
Interface to access global collection methods. See default implementation in CollOverArrayBuilder.