Scala - Collections and Tuples

Originally published at: http://www.itversity.com/lessons/scala-collections/

As part of this topic let us get started with collections. Here is the official documentation link – http://docs.scala-lang.org/overviews/collections/introduction Scala Collections are Easy to use Concise Safe Fast Universal Example val (even, odd) = (0 to 100).toList.partition (_ % 2 == 0) Here is the high level hierarchy of Scala Collections. All these are traits with…