API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class HashMapEntry

Package | org.openscales.core.basetypes.maps
Class | public class HashMapEntry
Implements | IHashMapEntry

Provides a strongly typed implementation of a key/value pairs

See also

IHashMapEntry
IMap

Public Properties

| Property | Defined by
--- | --- | ---
|  | key : * Retrieves the value of the `key` property of the `IHashMapEntry` implementation. | HashMapEntry
|  | value : * Retrieves the value of the `value` property of an `IHashMapEntry` implementation. | HashMapEntry

Protected Properties

| Property | Defined by
--- | --- | ---
|  | _key : * Defines the `key` property of the key / value pair. | HashMapEntry
|  | _value : * Defines the `value` property of the key / value pair. | HashMapEntry

Public Methods

| Method | Defined by
--- | --- | ---
|  | HashMapEntry(key:*, value:*) `HashMapEntry` constructor accepts values for the `key` and `value` properties of an `IHashMapEntry` | HashMapEntry

Property detail

_key | property

`protected var _key:*`

Defines the `key` property of the key / value pair.

key | property |

`key:*` [read-write]

Retrieves the value of the `key` property of the `IHashMapEntry` implementation.

Implementation
`public function get key():*`
`public function set key(value:*):void`

_value | property |

`protected var _value:*`

Defines the `value` property of the key / value pair.

value | property |

`value:*` [read-write]

Retrieves the value of the `value` property of an `IHashMapEntry` implementation.

Implementation
`public function get value():*`
`public function set value(value:*):void`
Constructor detail

HashMapEntry | () | constructor

`public function HashMapEntry(key:*, value:*)`

`HashMapEntry` constructor accepts values for the `key` and `value` properties of an `IHashMapEntry`

Parameters

| `key:*` — to assign to the `key` property
| `value:*` — to assign to the `value` property