25 March 2013
Cover

Programming in Scala, Second Edition

A comprehensive step-by-step Guide

By Martin Odersky, Lex Spoon, and Bill Venners

Publisher: artima

Released: December 13, 2010

Pages: 883

Introduction xlii

  1. A Scalable Language 50
  2. First Steps in Scala 69
  3. Next Steps in Scala 82
  4. Classes and Objects 104
  5. Basic Types and Operations 118
  6. Functional Objects 140
  7. Built-in Control Structures 160
  8. Functions and Closures 185
  9. Control Abstraction 208
  10. Composition and Inheritance 223
  11. Scala's Hierarchy 251
  12. Traits 259
  13. Packages and Imports 278
  14. Assertions and Unit Testing 296
  15. Case Classes and Pattern Matching 310
  16. Working with Lists 345
  17. Collections 378
  18. Stateful Objects 400
  19. Type Parameterization 423
  20. Abstract Members 448
  21. Implicit Conversions and Parameters 480
  22. Implementing Lists 504
  23. For Expressions Revisited 517
  24. The Scala Collections API 534
  25. The Architecture of Scala Collections 610
  26. Extractors 634
  27. Annotations 650
  28. Working with XML 658
  29. Modular Programming Using Objects 672
  30. Object Equality 687
  31. Combining Scala and Java 713
  32. Actors and Concurrency 726
  33. Combinator Parsing 762
  34. GUI Programming 791
  35. The SCells Spreadsheet 803

A. Scala scripts on Unix and Windows 828

Glossary 829

Bibliography 845

About the Authors 848

Index 849




blog comments powered by Disqus