Select functions and results

Report a typo

Select the appropriate description for the features:

Match the items from left and right columns
associateBy()
zip()
unzip()
associate()
associateWith()
Returns two collection from a List of Pairs: the first one will have the first elements of the pair, the second one – the second elements.
Returns a map where the elements are the keys. The map values ​​are obtained via a transformation function.
Returns a list of values built from the elements of a collection and another collection with the same index.
Returns a map that contains key-value pairs that correspond to the map entry via a lambda function.
Returns a map where the elements of a collection are the values.
___

Create a free account to access the full topic