Contents
Contents
Contents
Mutable and Immutable Collections
An Overview of the Collections API
Trait
Traversable
Trait
Iterable
The sequence traits
Seq
,
IndexedSeq
, and
LinearSeq
Buffers
Sets
Sorted Sets
Bitsets
Maps
Synchronized sets and maps
Concrete Immutable Collection Classes
Lists
Streams
Vectors
Immutable stacks
Immutable Queues
Ranges
Hash Tries
Red-Black Trees
Immutable BitSets
List Maps
Concrete Mutable Collection Classes
Array Buffers
List Buffers
StringBuilders
Linked Lists
Double Linked Lists
Mutable Lists
Queues
Array Sequences
Stacks
Array Stacks
Hash Tables
Weak Hash Maps
Concurrent Maps
Mutable Bitsets
Arrays
Strings
Performance Characteristics
Equality
Views
Iterators
Buffered iterators
Creating collections from scratch
Conversions between Java and Scala collections
Migrating from Scala 2.7
Acknowledgements
Contents
Footnotes
Navigation
Contents
Contents