Package | org.as3collections |
Class | public class MapEntry |
Inheritance | MapEntry Object |
Implements | IMapEntry |
Property | Defined By | ||
---|---|---|---|
key : * [read-only]
Returns the key corresponding to this entry. | MapEntry | ||
value : * [read-only]
Returns the value corresponding to this entry. | MapEntry |
Method | Defined 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 |
key | property |
key:*
[read-only] Returns the key corresponding to this entry.
public function get key():*
value | property |
value:*
[read-only] Returns the value corresponding to this entry.
public function get value():*
MapEntry | () | Constructor |
public function MapEntry(key:*, value:*)
Constructor, creates a new MapEntry
object.
key:* — the key represented by this entry.
| |
value:* — the value represented by this entry.
|
clone | () | method |
public function clone():*
Creates and return a new MapEntry
object with the same key-value mapping.
* — 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.
|
Boolean — true if the arbitrary evaluation considers the objects equal.
|
toString | () | method |
public function toString():String
Returns the string representation of this instance.
ReturnsString — the string representation of this instance.
|