Chapter 9
Pattern Matching and Regular Expressions

Pattern matching is the second most widely used feature of Scala, after function values and closures. Scala’s superb support for pattern matching means you’ll use it extensively when you receive messages from actors in concurrent programming. In this chapter, you’ll learn about Scala’s mechanism for pattern matching, the case classes, and the extractors, as well as how to create and use regular expressions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.76.7