Skip to content

OpenBIMRL | Set functions

Class path: collection.set.getSetUnion

Union

getSetUnion1.png

Description

Determines the union of a set A and a set B. The result set contains all elements from A and B, ignoring duplicates.

Input

Input Name Type Description
0 Set A Set<Object> Set A
1 Set B Set<Object> Set B

Output

Output Name Type Description
0 Set Set<Object> Union

Use/Example

getSetUnion2.png

Node representation with sample values

Sample file

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