A class supporting filtered operations
Adds two or more elements to this collection and returns either the collection itself (if it is mutable), or a new collection with the added elements
Add a key/value pair to this map
Adds all key/value pairs produced by an iterator to this map, returning a new map
Adds all key/value pairs in a traversable collection to this map, returning a new map
Concatenates this map with the elements of an iterator
Concatenates this map with the elements of a traversable collection
Creates a new map from this map with some elements removed
Removes a key from this map, returning a new map
Creates a new map from this map by removing all elements produced by an iterator
Creates a new map from this map by removing all elements of another collection
Applies a binary operator to a start value and all elements of this map, going left to right
Applies a binary operator to all elements of this map and a start value, going right to left
Appends all bindings of this map to a string builder using start, end, and separator strings
Appends all elements of this map to a string builder
Appends all elements of this map to a string builder using a separator string
Composes this partial function with a transformation function that gets applied to results of this partial function
Retrieves the value which is associated with the given key
Method called from equality methods, so that user-defined subclasses can refuse to be equal to other collections of the same kind
The factory companion object that builds instances of class Map
Comparison function that orders keys
(f compose g)(x) == f(g(x))
Tests whether this map contains a binding for a key
Copies elements of this map to an array
Copies elements of this map to an array
Copies elements of this map to an array
Copies all elements of this map to a buffer
Counts the number of elements in the map which satisfy a predicate
Defines the default value computation for the map, returned when a key is not found The method implemented here throws an exception, but it might be overridden in subclasses
Selects all elements except first n ones
Selects all elements except first n ones
Drops longest prefix of elements that satisfy a predicate
Needs to be overridden in subclasses
Compares two maps structurally; i
Tests whether a predicate holds for some of the elements of this map
Selects all elements of this map which satisfy a predicate
Filters this map by retaining only keys satisfying a predicate
Selects all elements of this map which do not satisfy a predicate
Finds the first element of the map satisfying a predicate, if any
Returns the first key of the collection
None
if iterable is empty
Builds a new collection by applying a function to all elements of this map and concatenating the results
Converts this map of traversable collections into a map in which all element collections are concatenated
Applies a binary operator to a start value and all elements of this map, going left to right
Applies a binary operator to all elements of this map and a start value, going right to left
Tests whether a predicate holds for all elements of this map
Applies a function f
to all elements of this map
Creates a ranged projection of this collection with no upper-bound
The generic builder that builds instances of Map at arbitrary element types
Optionally returns the value associated with a key
Returns the value associated with a key, or a default value if the key is not contained in the map
Partitions this map into a map of maps according to some discriminator function
Tests whether this map is known to have a finite size
Returns a hash code value for the object
Selects the first element of this map
Optionally selects the first element
Selects all elements except the last
Tests whether this map contains a binding for a key
Tests whether the map is empty
Creates a new iterator over all key/value pairs of this map
Collects all keys of this map in a set
Creates an iterator for all keys
Creates an iterator for all keys
Selects the last element
Returns the last key of the collection
Optionally selects the last element
Turns this partial function into an plain function returning an Option
result
Builds a new collection by applying a function to all elements of this map
A map view resulting from applying a given function f
to each value
associated with a key in this map
Finds the largest element
Finds the smallest element
Displays all elements of this map in a string
Displays all elements of this map in a string using a separator string
Displays all elements of this map in a string using start, end, and separator strings
Tests whether the map is not empty
Composes this partial function with a fallback partial function which gets applied where this partial function is not defined
Builds a new collection by applying a partial function to all elements of this map on which the function is defined
Partitions this map in two maps according to a predicate
Multiplies up the elements of this collection
returns a projection that can be used to call non-strict filter
,map
, and flatMap
methods that build projections
of the collection
Creates a ranged projection of this collection with both a lower-bound and an upper-bound
Creates a ranged projection of this collection
Applies a binary operator to all elements of this map, going left to right
Optionally applies a binary operator to all elements of this map, going left to right
Applies a binary operator to all elements of this map, going right to left
Optionally applies a binary operator to all elements of this map, going right to left
The collection of type map underlying this TraversableLike
object
Checks if the other iterable collection contains the same elements in the same order as this map
The size of this map
Selects an interval of elements
Spits this map into a prefix/suffix pair according to a predicate
Splits this map into two at a given position
Defines the prefix of this object's toString
representation
Sums up the elements of this collection
Selects all elements except the first
Selects first n elements
Selects last n elements
Takes longest prefix of elements that satisfy a predicate
Create a range projection of this collection with no lower-bound
Converts this map to an array
Converts this map to an indexed sequence
Converts this map to an iterable collection
Converts this map to a list
Converts this map to a sequence
Converts this map to a set
Converts this map to a stream
Converts this map to a string
Transposes this map of traversable collections into
Creates a ranged projection of this collection with no lower-bound
Converts this map of pairs into two collections of the first and second halfs of each pair
Add a key/value pair to this map
Creates an iterator for all contained values
Collects all values of this map in an iterable collection
Creates an iterator for all values in this map
Creates a non-strict view of a slice of this map
Creates a non-strict view of this map
Creates a non-strict filter of this map
Returns a map formed from this map and another iterable collection by combining corresponding elements in pairs
Returns a map formed from this map and another iterable collection by combining corresponding elements in pairs
Zips this map with its indices
A map whose keys are sorted.