Combines the mappings in o
with the mappings in this map, with mappings in o
taking precedence over existing mappings.
Adds the mappings in o
to this map, with mappings in o
taking precedence over existing mappings.
Gets the value of type T
associated with the key k
.
Returns true if this map contains a mapping for k
.
All mappings in this map.
All mappings in this map. The AttributeEntry type preserves the typesafety of mappings, although the specific types are unknown.
Gets the value of type T
associated with the key k
or None
if no value is associated.
true
if there are no mappings in this map, false
if there are.
All keys with defined mappings.
Adds the mapping k -> value
to this map, replacing any existing mapping for k
.
Returns this map without the mapping for k
.
An immutable map where an AttributeKey for a fixed type
T
can only be associated with values of typeT
. Because the equality of keys is based on reference, it is therefore possible for this map to contain mappings for keys with the same label and same types.