Difference between revisions of "Core.Terms.MapGetKeyList"

From emotive
Jump to navigation Jump to search
m (Hb moved page MapGetKeyList to Core.Terms.MapGetKeyList: #3153)
 
Line 1: Line 1:
[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''MapGetKeyList'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
 
{{ClassificationActivity | MapGetKeyList | List of the keys in a map | [[Term]] | [[Core|OTX Core library]] | [[Map related terms]] | - | - }}
 
{{ClassificationActivity | MapGetKeyList | List of the keys in a map | [[Term]] | [[Core|OTX Core library]] | [[Map related terms]] | - | - }}
Line 13: Line 13:
 
{{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.}}
 
{{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.}}
  
{{TermReturnValue| [[List]] | Return of a list of the keys of the map as items}}
+
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Return of a list of the keys of the map as items}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| MapTerm | [[Map]] | [[Term]] | - | [1] | Map which to be calculated}}
+
{{TableRowPropertie1| MapTerm | [[Core.DataTypes.ComplexDataType.ContainerDataType.Map|Map]] | [[Term]] | - | [1] | Map which to be calculated}}
 
|}
 
|}
  
Line 30: Line 30:
  
 
== See also ==
 
== See also ==
[[MapContainsKey]] <br/>
+
[[Core.Terms.MapContainsKey|MapContainsKey]] <br/>
[[MapContainsValue]] <br/>
+
[[Core.Terms.MapContainsValue|MapContainsValue]] <br/>
[[MapGetSize]] <br/>
+
[[Core.Terms.MapGetSize|MapGetSize]] <br/>
[[MapGetValueList]] <br/>
+
[[Core.Terms.MapGetValueList|MapGetValueList]] <br/>
[[MapCopy]]
+
[[Core.Terms.MapCopy|MapCopy]]

Latest revision as of 04:21, 5 February 2016

Classification

Name MapGetKeyList
Short Description List of the keys in a map
Class Term
Extension OTX Core library
Group Map related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = MapGetKeyList(MapTerm);

Description

MapGetKeyList is a term, which returns a list of the keys of a map as a result.

Exclamation.png 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.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List Return of a list of the keys of the map as items

Properties

Name Data Type Class Default Cardinality Description
MapTerm Map Term - [1] Map which to be calculated

OTL Examples

Map<Integer, String> map = {{1:"text1"}, {2;"text2"}};
List<Integer> result;
result = MapGetKeyList(map);
//Returns result = {1, 2}

See also

MapContainsKey
MapContainsValue
MapGetSize
MapGetValueList
MapCopy