user3663882 user3663882 - 3 months ago 8
Scala Question

Scala equivalent of java.util.Collection?

What is the equivalent of

java.util.Collection
? I first thought
Seq
is the way to go, but actually it's an ordered set of elements. I mean we have a numeration of elements.

Answer

Collection Hierarcy

Traversable is on top above iterable

enter image description here