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.
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.
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.
Interface to access global collection methods. See default implementation in CollOverArrayBuilder.