Matching collection definitions

Report a typo

Match the parts of definitions for collections in Scala.

Match the items from left and right columns
Set(1, 2, 3).
List('a', 'b')
Map('a' -> 1).
.map(c => 'd')
filter(i => i > 2)
filter(pair => 'a' -> pair._2)
___

Create a free account to access the full topic