The Set Class

val set = scala.collection.mutable.Set[Int]()
set += 1
set += 2 += 3
set ++= Vector(4, 5)

Is an iterable collection with no duplicate elements.

The Set Class → are a → Scala Collections.

The Set Class — Structure map

Clickable & Draggable!

The Set Class — Related pages: