Scala collection API
Types and hierarchies
Traversable
Iterable
Seq,LinearSeq and indexedSeq
Mutable and immutable
Arrays
Lists
Sets
Tuples
Maps
Option
Exists
Forall
Filter
Map
Take
Groupby
Init
Drop
TakeWhile
DropWhile
FlatMap
The scala collections are a well-understood and frequently
used programming abstraction that can be distinguished between mutable and
immutable collections.
Like a mutable variable ,the mutable collections can be
updated, changed or extended when necessary.
However like a immutable variable,immutable collections
cannot be changed.
Most of the collection packeage located in scala,collection,
scala.collection.mutable,scala.collection.immutable
Easy to Use
Concise
Safe
Fast
Universal
collection under package in scala
No comments:
Post a Comment