Core.Terms.MapCopy
Jump to navigation
Jump to search
Contents
Classification
Name | MapCopy |
Short Description | Returns the copy of a map |
Class | Term |
Extension | OTX Core library |
Group | Map related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
MapTerm = MapCopy(MapTerm);
Description
MapCopy is a term, which returns the copy of a map as a result.
![]() |
Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added. |
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Return of a the copy of a map |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
MapTerm | Map | Term | - | [1] | Map which to be copied |
OTL Examples
Map<Integer, String> map = {{1:"text1"}, {2:"text2"}};
Map<Integer, String> result;
result = MapCopy(map);
//Returns result = {{1, text1"", 2, "text2"}}
See also
MapContainsKey
MapContainsValue
MapGetSize
MapGetKeyList
MapGetValueList