Find a copy in the library
Finding libraries that hold this item...
|Additional Physical Format:||Print version:
Programming Scala : Scalability = Functional Programming + Objects.
Sebastopol : O'Reilly Media, Inc., ©2009
|Document Type:||Book, Computer File|
|All Authors / Contributors:||
Dean Wampler; Alex Payne
|Notes:||The equals Method.|
|Description:||1 online resource (448 pages)|
|Contents:||Table of Contents; Foreword; Preface; Welcome to Programming Scala; Conventions Used in This Book; Using Code Examples; Getting the Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Zero to Sixty: Introducing Scala; Why Scala?; If You Are a Java Programmer ... ; If You Are a Ruby, Python, etc. Programmer ... ; Introducing Scala; The Seductions of Scala; Installing Scala; For More Information; A Taste of Scala; A Taste of Concurrency; Recap and What's Next; Chapter 2. Type Less, Do More; In This Chapter; Semicolons; Variable Declarations; Method Declarations. Method Default and Named Arguments (Scala Version 2.8)Nesting Method Definitions; Inferring Type Information; Literals; Integer Literals; Floating-Point Literals; Boolean Literals; Character Literals; String Literals; Symbol Literals; Tuples; Option, Some, and None: Avoiding nulls; Organizing Code in Files and Namespaces; Importing Types and Their Members; Imports are Relative; Abstract Types And Parameterized Types; Reserved Words; Recap and What's Next; Chapter 3. Rounding Out the Essentials; Operator? Operator?; Syntactic Sugar; Methods Without Parentheses and Dots; Precedence Rules. Domain-Specific LanguagesScala if Statements; Scala for Comprehensions; A Dog-Simple Example; Filtering; Yielding; Expanded Scope; Other Looping Constructs; Scala while Loops; Scala do-while Loops; Generator Expressions; Conditional Operators; Pattern Matching; A Simple Match; Variables in Matches; Matching on Type; Matching on Sequences; Matching on Tuples (and Guards); Matching on Case Classes; Matching on Regular Expressions; Binding Nested Variables in Case Clauses; Using try, catch, and finally Clauses; Concluding Remarks on Pattern Matching; Enumerations; Recap and What's Next. Chapter 4. TraitsIntroducing Traits; Traits As Mixins; Stackable Traits; Constructing Traits; Class or Trait?; Recap and What's Next; Chapter 5. Basic Object-Oriented Programming in Scala; Class and Object Basics; Parent Classes; Constructors in Scala; Calling Parent Class Constructors; Nested Classes; Visibility Rules; Public Visibility; Protected Visibility; Private Visibility; Scoped Private and Protected Visibility; Final Thoughts on Visibility; Recap and What's Next; Chapter 6. Advanced Object-Oriented Programming In Scala; Overriding Members of Classes and Traits. Attempting to Override final DeclarationsOverriding Abstract and Concrete Methods; Overriding Abstract and Concrete Fields; Overriding Abstract and Concrete Fields in Traits; Overriding Abstract and Concrete Fields in Classes; Overriding Abstract Types; When Accessor Methods and Fields Are Indistinguishable: The Uniform Access Principle; Companion Objects; Apply; Unapply; Apply and UnapplySeq for Collections; Companion Objects and Java Static Methods; Case Classes; Syntactic Sugar for Binary Operations; The copy Method in Scala Version 2.8; Case Class Inheritance; Equality of Objects.|