A key-value pair struct used by a few other foundation classes.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | Entry | public Entry(var, var) |
field | key | public var key |
field | value | public var value |
public Entry(var key, var value)
Create a new Entry with given key and value.
Parameters
public var key
The key of the entry. When used in Systen.Collection.Map, if it's an Object, hashCode() will be called to get its hash; if primitive, it will be converted to an integer as the hash.
public var value
The value associated with this key.