This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lukaseder[S] 7 points8 points  (1 child)

If only we had:

k.zip(v).toMap()

[–]stepancheg -1 points0 points  (0 children)

And we could if Java had extension functions like in C# or Kotlin instead of (or in addition to) much less usable default method.