Difference between revisions of "Core.Actions.MapClear"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | Map<Integer,Integer> Map1 = {1:2, 2:3}; | |
− | |||
− | |||
− | + | MapClear(Map1); | |
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:34, 2 February 2015
Classification
Name | MapClear |
Short Description | Removes all items from a Map |
Class | Action |
Extension | OTX Core library |
Group | MapModifiers related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
MapClear(MapVariable);
Description
The OTX MapRemoveItems activity removes all items from a Map
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Map | Map | Variable | - | [1] | Identifies the Map which be cleared. |
OTL Examples
Map<Integer,Integer> Map1 = {1:2, 2:3};
MapClear(Map1);
See also
Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
ReplaceSubByteField
AppendByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapUnion
MapPutItems
MapRemoveItems