Script: Class dw.util.MapEntry

Class MapEntry

The class represent an entry within a Map.

Properties

key : Object Read Only

The entry's key.

value : Object Read Only

The entry's value.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getKey() : Object

Returns the entry's key.

getValue() : Object

Returns the entry's value.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getKey

getKey() : Object

Returns the entry's key.

Returns:

the entry's key.

getValue

getValue() : Object

Returns the entry's value.

Returns:

the entry's value.