Difference between revisions of "Core.Actions.MapClear"
Jump to navigation
Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | MapClear | Removes all items from a Map | Action | OTX Core library | MapModifiers related act...") |
|||
Line 2: | Line 2: | ||
== Classification == | == Classification == | ||
{{ClassificationActivity | MapClear | Removes all items from a Map | [[Action]] | [[Core|OTX Core library]] | [[MapModifiers related actions]] | - | - }} | {{ClassificationActivity | MapClear | Removes all items from a Map | [[Action]] | [[Core|OTX Core library]] | [[MapModifiers related actions]] | - | - }} | ||
+ | |||
+ | == OTL Syntax == | ||
+ | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | MapClear(MapVariable); | ||
+ | </syntaxhighlight> | ||
== Description == | == Description == | ||
Line 11: | Line 16: | ||
{{TableRowPropertie1| Map | [[Map]] | [[Variable]] | - | [1] | Identifies the Map which be cleared. }} | {{TableRowPropertie1| Map | [[Map]] | [[Variable]] | - | [1] | Identifies the Map which be cleared. }} | ||
|} | |} | ||
+ | |||
+ | == OTL Examples == | ||
+ | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | public procedure main() | ||
+ | { | ||
+ | Map<Integer,Integer> Map1 = {1:2, 2:3}; | ||
+ | |||
+ | MapClear(Map1); | ||
+ | } | ||
+ | </syntaxhighlight> | ||
== See also == | == See also == |
Revision as of 09:48, 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
public procedure main()
{
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