A pair containing a key and an associated value called
the item. Used primarily to represent the elements of a
Map. The type
Entry<Key,Item> may be abbreviated
Key->Item. An instance of
Entry may be constructed
String->Person entry = person.name->person;
no subtypes hierarchy
The hash value of the value, which allows the value to be an element of a hash-based set or key of a hash-based map. Implementations must respect the constraint that:
Therefore, a class which refines
The item associated with the key.
The key used to access the entry.
A pair (2 element tuple) with the key and item of this
entry. For any
entry.pair == [entry.key,entry.item]
|Attributes inherited from: |
Determines if this entry is equal to the given entry. Two entries are equal if they have the same key and the same item.
|Methods inherited from: |