Difference between revisions of "Core.Actions.MapUnion"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''MapUnion'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | MapUnion | Joins two maps together | [[Action]] | [[Core|OTX Core library]] | [[MapModifiers related actions]] | - | [[CoreChk042|Core_Chk042]]}} | + | {{ClassificationActivity | MapUnion | Joins two maps together | [[Action]] | [[Core|OTX Core library]] | [[MapModifiers related actions]] | - | [[Core.Validation.CoreChk042|Core_Chk042]]}} |
== OTL Syntax == | == OTL Syntax == | ||
Line 15: | Line 15: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Map | [[Map]] | [[Variable]] | - | [1] | Map of key / value pairs, which is connected to the other map}} | + | {{TableRowPropertie1| Map | [[Core.DataTypes.ComplexDataType.ContainerDataType.Map|Map]] | [[Variable]] | - | [1] | Map of key / value pairs, which is connected to the other map}} |
− | {{TableRowPropertie2| OtherMap | [[Map]] | [[Term]] | - | [1] | Map of key/value pairs, which are connected with the original Map}} | + | {{TableRowPropertie2| OtherMap | [[Core.DataTypes.ComplexDataType.ContainerDataType.Map|Map]] | [[Term]] | - | [1] | Map of key/value pairs, which are connected with the original Map}} |
|} | |} | ||
Line 27: | Line 27: | ||
== See also == | == See also == | ||
− | [[Assignment]] <br/> | + | [[Core.Actions.Assignment|Assignment]] <br/> |
− | [[ProcedureCall]] <br/> | + | [[Core.Actions.ProcedureCall|ProcedureCall]] <br/> |
− | [[ShiftRight]] <br/> | + | [[Core.Actions.ShiftRight|ShiftRight]] <br/> |
− | [[ShiftLeft]] <br/> | + | [[Core.Actions.ShiftLeft|ShiftLeft]] <br/> |
− | [[SetBit]] <br/> | + | [[Core.Actions.SetBit|SetBit]] <br/> |
− | [[ReplaceSubByteField]] <br/> | + | [[Core.Actions.ReplaceSubByteField|ReplaceSubByteField]] <br/> |
− | [[AppendByteField]] <br/> | + | [[Core.Actions.AppendByteField|AppendByteField]] <br/> |
− | [[ListConcatenate]] <br/> | + | [[Core.Actions.ListConcatenate|ListConcatenate]] <br/> |
− | [[ListAppendItems]] <br/> | + | [[Core.Actions.ListAppendItems|ListAppendItems]] <br/> |
− | [[ListInsertItems]] <br/> | + | [[Core.Actions.ListInsertItems|ListInsertItems]] <br/> |
− | [[ListRemoveItems]] <br/> | + | [[Core.Actions.ListRemoveItems|ListRemoveItems]] <br/> |
− | [[ListClear]] <br/> | + | [[Core.Actions.ListClear|ListClear]] <br/> |
− | [[MapPutItems]] <br/> | + | [[Core.Actions.MapPutItems|MapPutItems]] <br/> |
− | [[MapRemoveItems]] <br/> | + | [[Core.Actions.MapRemoveItems|MapRemoveItems]] <br/> |
− | [[MapClear]] | + | [[Core.Actions.MapClear|MapClear]] |
Latest revision as of 08:57, 16 February 2016
Classification
Name | MapUnion |
Short Description | Joins two maps together |
Class | Action |
Extension | OTX Core library |
Group | MapModifiers related actions |
Exceptions | - |
Checker Rules | Core_Chk042 |
Standard Compliant | Yes |
OTL Syntax
MapUnion(MapVariable, {{MapTerm1}, {MapTerm2}, ...});
Description
The OTX MapUnion activity joins two or more maps together. The map contains all the original features as well as all other elements of the map.
![]()
Does the other map a key that is also present in the original map, the corresponding value in the original map is overwritten.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Map | Map | Variable | - | [1] | Map of key / value pairs, which is connected to the other map |
OtherMap | Map | Term | - | [1] | Map of key/value pairs, which are connected with the original Map |
OTL Examples
Map<Integer,Integer> Map1;
MapUnion(Map1, {{1:2, 2:3}});
See also
Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
ReplaceSubByteField
AppendByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapPutItems
MapRemoveItems
MapClear