Skip to content

OpenBIMRL | Map functions

Class path: collection.map.createMapByPairs

Create pair map

createMapByPairs1.png

Description

Created a map of elements when each was provided a list of keys and values.

Input

Input Name Type Description
0 Key List<Object> Key
1 Values List<Object> Values

Output

Output Name Type Description
0 Key List<Object> Key
1 Values List<Object> Values
2 Map AbstractMap Map

Use/Example

createMapByPairs2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself