Packagesystem.data.maps
Classpublic class MapEntry
InheritanceMapEntry Inheritance Object
Implements Cloneable, Entry
Subclasses TrieEntry

Represents a pair key/value entry in a Map.



Public Properties
 PropertyDefined By
  key : *
Indicates the key corresponding to this entry.
MapEntry
  value : *
Indicates the value corresponding to this entry.
MapEntry
Public Methods
 MethodDefined By
  
MapEntry(key:* = null, value:* = null)
Creates a new MapEntry instance.
MapEntry
  
clone():*
Creates and returns a shallow copy of the object.
MapEntry
  
toString():String
Returns the String representation of the object.
MapEntry
Property Detail
keyproperty
key:*

Indicates the key corresponding to this entry.


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

Indicates the value corresponding to this entry.


Implementation
    public function get value():*
    public function set value(value:any):void
Constructor Detail
MapEntry()Constructor
public function MapEntry(key:* = null, value:* = null)

Creates a new MapEntry instance.

Parameters
key:* (default = null) — The key representation of the entry.
 
value:* (default = null) — The value representation of the entry.
Method Detail
clone()method
public function clone():*

Creates and returns a shallow copy of the object.

Returns
* — A new object that is a shallow copy of this instance.
toString()method 
public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.