@@ -28,16 +28,16 @@ The fundamental operations on maps are similar to those on sets. They are summar
2828| ` ms(k) ` | (or, written out, ` ms apply k ` ) The value associated with key ` k ` in map ` ms ` , or exception if not found.|
2929| ` ms getOrElse (k, d) ` | The value associated with key ` k ` in map ` ms ` , or the default value ` d ` if not found.|
3030| ` ms contains k ` | Tests whether ` ms ` contains a mapping for key ` k ` .|
31- | ` ms isDefinedAt k ` | Same as ` contains ` . |
31+ | ` ms isDefinedAt k ` | Same as ` contains ` . |
3232| ** Additions and Updates:** | |
3333| ` ms + (k -> v) ` | The map containing all mappings of ` ms ` as well as the mapping ` k -> v ` from key ` k ` to value ` v ` .|
3434| ` ms + (k -> v, l -> w) ` | The map containing all mappings of ` ms ` as well as the given key/value pairs.|
3535| ` ms ++ kvs ` | The map containing all mappings of ` ms ` as well as all key/value pairs of ` kvs ` .|
3636| ` ms updated (k, v) ` | Same as ` ms + (k -> v) ` .|
3737| ** Removals:** | |
38- | ` ms - k ` | The map containing all mappings of ` ms ` except for any mapping of key ` k ` .|
39- | ` ms - (k, 1, m) ` | The map containing all mappings of ` ms ` except for any mapping with the given keys.|
40- | ` ms -- ks ` | The map containing all mappings of ` ms ` except for any mapping with a key in ` ks ` .|
38+ | ` ms - k ` | The map containing all mappings of ` ms ` except for any mapping of key ` k ` .|
39+ | ` ms - (k, 1, m) ` | The map containing all mappings of ` ms ` except for any mapping with the given keys.|
40+ | ` ms -- ks ` | The map containing all mappings of ` ms ` except for any mapping with a key in ` ks ` .|
4141| ** Subcollections:** | |
4242| ` ms.keys ` | An iterable containing each key in ` ms ` . |
4343| ` ms.keySet ` | A set containing each key in ` ms ` . |
0 commit comments