Packageorg.as3collections
Classpublic class MapEntry
InheritanceMapEntry Inheritance Object
Implements IMapEntry

An entry maintaining a key and a value.



Public Properties
 PropertyDefined By
  key : *
[read-only] Returns the key corresponding to this entry.
MapEntry
  value : *
[read-only] Returns the value corresponding to this entry.
MapEntry
Public Methods
 MethodDefined By
  
MapEntry(key:*, value:*)
Constructor, creates a new MapEntry object.
MapEntry
  
clone():*
Creates and return a new MapEntry object with the same key-value mapping.
MapEntry
  
equals(other:*):Boolean
Performs an arbitrary, specific evaluation of equality between this object and the other object.
MapEntry
  
toString():String
Returns the string representation of this instance.
MapEntry
Property Detail
keyproperty
key:*  [read-only]

Returns the key corresponding to this entry.


Implementation
    public function get key():*
valueproperty 
value:*  [read-only]

Returns the value corresponding to this entry.


Implementation
    public function get value():*
Constructor Detail
MapEntry()Constructor
public function MapEntry(key:*, value:*)

Constructor, creates a new MapEntry object.

Parameters
key:* — the key represented by this entry.
 
value:* — the value represented by this entry.
Method Detail
clone()method
public function clone():*

Creates and return a new MapEntry object with the same key-value mapping.

Returns
* — a new MapEntry object with the same key-value mapping.
equals()method 
public function equals(other:*):Boolean

Performs an arbitrary, specific evaluation of equality between this object and the other object.

This implementation considers two differente objects equal if:

Parameters

other:* — the object to be compared for equality.

Returns
Booleantrue if the arbitrary evaluation considers the objects equal.
toString()method 
public function toString():String

Returns the string representation of this instance.

Returns
String — the string representation of this instance.