Mapping functions

Mapping Methods

The Mapping object provides following methods:

Method Description
"clear" Empties the mapping.
"contains" Returns true if the key is already in the mapping.
"count" Returns the number of keys.
"insert" Insert a key/value pair.
"isEmpty" Returns true if the mapping is empty.
"merge" Merges two mappings.
"keyAt" Returns the key at the given mapping index.
"merged" Creates a new instance from merging two mappings
"value" Returns the value at given key.
"valueAt" Returns the value at the given mapping index.

Mapping Specific Functions

The following functions are used for the handling of mappings: