Fügt die Objekte der Collection coll einer Collection hinzu. Im Unterschied zu including muss das Argument eine Collection sein.
union(Collection coll) | |||
---|---|---|---|
Argument | Collection | coll | |
Rückgabewert | Collection |
Formel | Ergebnis |
---|---|
=List{1,2,3}.union(List{5,6}) | [1, 2, 3, 5, 6] |