Chapter 13. Collections

Topics in This Chapter image

13.1 The Main Collections Traits — page 156

13.2 Mutable and Immutable Collections — page 157

13.3 Sequences — page 158

13.4 Lists — page 159

13.5 Mutable Lists — page 160

13.6 Sets — page 161

13.7 Operators for Adding or Removing Elements — page 162

13.8 Common Methods — page 164

13.9 Mapping a Function — page 167

13.10 Reducing, Folding, and Scanning image — page 168

13.11 Zipping — page 171

13.12 Iterators — page 172

13.13 Streams — page 173

13.14 Lazy Views — page 174

• ...

Get Scala for the Impatient now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.