Applies f
to each item in the collection and returns an Array
Applies f
to each item in the collection and returns a List
Applies f
to each item in the collection and returns a Map, discarding
duplicates.
Creates a map from a sequence, mapping each element in the sequence by a given Option[key].
Creates a map from a sequence, mapping each element in the sequence by a given Option[key]. If keys are duplicated or None, values will be discarded.
Applies f
to each item in the collection and returns a Set
Applies f
to each item in the collection and returns a Vector
Returns n randomly selected elements from the given list
Applies f
to each item in the collection and returns an Array
Applies f
to each item in the collection and returns a List
Applies f
to each item in the collection and returns a Map, discarding
duplicates.
Creates a map from a sequence, mapping each element in the sequence by a given key.
Creates a map from a sequence, mapping each element in the sequence by a given key. If keys are duplicated, values will be discarded.
Applies f
to each item in the collection and returns a mutable Map,
discarding duplicates.
Applies f
to each item in the collection and returns a Set
Applies f
to each item in the collection and returns a Vector
Returns the top N elements of the Traversable in a Vector.
Returns the top N elements of the Traversable in a Vector. They'll come back sorted from least to greatest.