下载 >  开发技术 >  其它 > Scala for the Impatient 2nd (完整英文第二版 带书签)

Scala for the Impatient 2nd (完整英文第二版 带书签) 评分:

《快学Scala》英文第二版: Scala for the Impatient Second Edition Cay S. Horstmann 目录: 1 THE BASICS A1 1 1.1 The Scala Interpreter 1 1.2 Declaring Values and Variables 4 1.3 Commonly Used Types 5 1.4 Arithmetic and Operator Overloading 6 1.5 More about Calling Methods 8 1.6 The apply Method 9 1.7 Scaladoc 10 Exercises 15 2 CONTROL STRUCTURES A ND FUNCTIONS A1 17 2.1 Conditional Expressions 18 2.2 Statement Termination 19 2.3 Block Expressions and Assignments 20 vii Contents2.4 Input and Output 21 2.5 Loops 22 2.6 Advanced for Loops 24 2.7 Functions 25 2.8 Default and Named Arguments L1 26 2.9 Variable Arguments L1 26 2.10 Procedures 28 2.11 Lazy Values L1 28 2.12 Exceptions 29 Exercises 31 3 WORKING WITH ARRAYS A1 35 3.1 Fixed-Length Arrays 35 3.2 Variable-Length Arrays: Array Buffers 36 3.3 Traversing Arrays and Array Buffers 37 3.4 Transforming Arrays 38 3.5 Common Algorithms 40 3.6 Deciphering Scaladoc 41 3.7 Multidimensional Arrays 42 3.8 Interoperating with Java 43 Exercises 44 4 MAPS AND TUPLES A1 47 4.1 Constructing a Map 48 4.2 Accessing Map Values 48 4.3 Updating Map Values 49 4.4 Iterating over Maps 50 4.5 Sorted Maps 50 4.6 Interoperating with Java 50 4.7 Tuples 51 4.8 Zipping 52 Exercises 52 viii Contents5 CLASSES A1 55 5.1 Simple Classes and Parameterless Methods 55 5.2 Properties with Getters and Setters 56 5.3 Properties with Only Getters 59 5.4 Object-Private Fields 60 5.5 Bean Properties L1 61 5.6 Auxiliary Constructors 62 5.7 The Primary Constructor 63 5.8 Nested Classes L1 66 Exercises 68 6 OBJECTS A1 71 6.1 Singletons 71 6.2 Companion Objects 72 6.3 Objects Extending a Class or Trait 73 6.4 The apply Method 73 6.5 Application Objects 74 6.6 Enumerations 75 Exercises 77 7 PACKAGES AND IMPORTS A1 79 7.1 Packages 80 7.2 Scope Rules 81 7.3 Chained Package Clauses 83 7.4 Top-of-File Notation 83 7.5 Package Objects 83 7.6 Package Visibility 84 7.7 Imports 85 7.8 Imports Can Be Anywhere 85 7.9 Renaming and Hiding Members 86 7.10 Implicit Imports 86 Exercises 87 ix Contents8 INHERITANCE A1 91 8.1 Extending a Class 91 8.2 Overriding Methods 92 8.3 Type Checks and Casts 93 8.4 Protected Fields and Methods 94 8.5 Superclass Construction 94 8.6 Overriding Fields 95 8.7 Anonymous Subclasses 97 8.8 Abstract Classes 97 8.9 Abstract Fields 97 8.10 Construction Order and Early Definitions L3 98 8.11 The Scala Inheritance Hierarchy 100 8.12 Object Equality L1 102 8.13 Value Classes L2 103 Exercises 105 9 FILES AND REGULAR EXPRESSIONS A1 109 9.1 Reading Lines 109 9.2 Reading Characters 110 9.3 Reading Tokens and Numbers 111 9.4 Reading from URLs and Other Sources 111 9.5 Reading Binary Files 112 9.6 Writing Text Files 112 9.7 Visiting Directories 112 9.8 Serialization 113 9.9 Process Control A2 114 9.10 Regular Expressions 116 9.11 Regular Expression Groups 117 Exercises 118 10 TRAITS L1 121 10.1 Why No Multiple Inheritance? 121 10.2 Traits as Interfaces 123 10.3 Traits with Concrete Implementations 124 x Contents10.4 Objects with Traits 125 10.5 Layered Traits 125 10.6 Overriding Abstract Methods in Traits 127 10.7 Traits for Rich Interfaces 127 10.8 Concrete Fields in Traits 128 10.9 Abstract Fields in Traits 130 10.10 Trait Construction Order 130 10.11 Initializing Trait Fields 132 10.12 Traits Extending Classes 133 10.13 Self Types L2 134 10.14 What Happens under the Hood 135 Exercises 137 11 OPERATORS L1 141 11.1 Identifiers 142 11.2 Infix Operators 143 11.3 Unary Operators 143 11.4 Assignment Operators 144 11.5 Precedence 144 11.6 Associativity 145 11.7 The apply and update Methods 146 11.8 Extractors L2 147 11.9 Extractors with One or No Arguments L2 149 11.10 The unapplySeq Method L2 149 11.11 Dynamic Invocation L2 150 Exercises 153 12 HIGHER-ORDER FUNCTIONS L1 157 12.1 Functions as Values 157 12.2 Anonymous Functions 159 12.3 Functions with Function Parameters 160 12.4 Parameter Inference 160 12.5 Useful Higher-Order Functions 161 12.6 Closures 162 xi Contents12.7 SAM Conversions 163 12.8 Currying 164 12.9 Control Abstractions 166 12.10 The return Expression 167 Exercises 168 13 COLLECTIONS A2 171 13.1 The Main Collections Traits 172 13.2 Mutable and Immutable Collections 173 13.3 Sequences 174 13.4 Lists 175 13.5 Sets 177 13.6 Operators for Adding or Removing Elements 178 13.7 Common Methods 180 13.8 Mapping a Function 182 13.9 Reducing, Folding, and Scanning A3 184 13.10 Zipping 187 13.11 Iterators 188 13.12 Streams A3 189 13.13 Lazy Views A3 190 13.14 Interoperability with Java Collections 191 13.15 Parallel Collections 193 Exercises 194 14 PATTERN MATCHING AND CASE CLASSES A2 197 14.1 A Better Switch 198 14.2 Guards 199 14.3 Variables in Patterns 199 14.4 Type Patterns 200 14.5 Matching Arrays, Lists, and Tuples 201 14.6 Extractors 202 14.7 Patterns in Variable Declarations 203 14.8 Patterns in for Expressions 204 14.9 Case Classes 205 xii Contents14.10 The copy Method and Named Parameters 205 14.11 Infix Notation in case Clauses 206 14.12 Matching Nested Structures 207 14.13 Are Case Classes Evil? 208 14.14 Sealed Classes 209 14.15 Simulating Enumerations 209 14.16 The Option Type 210 14.17 Partial Functions L2 211 Exercises 212 15 ANNOTATIONS A2 215 15.1 What Are Annotations? 216 15.2 What Can Be Annotated? 216 15.3 Annotation Arguments 217 15.4 Annotation Implementations 218 15.5 Annotations for Java Features 219 15.5.1 Java Modifiers 219 15.5.2 Marker Interfaces 220 15.5.3 Checked Exceptions 220 15.5.4 Variable Arguments 221 15.5.5 JavaBeans 221 15.6 Annotations for Optimizations 222 15.6.1 Tail Recursion 222 15.6.2 Jump Table Generation and Inlining 223 15.6.3 Eliding Methods 224 15.6.4 Specialization for Primitive Types 225 15.7 Annotations for Errors and Warnings 226 Exercises 227 16 XML PROCESSING A2 229 16.1 XML Literals 230 16.2 XML Nodes 230 16.3 Element Attributes 232 16.4 Embedded Expressions 233 xiii Contents16.5 Expressions in Attributes 234 16.6 Uncommon Node Types 235 16.7 XPath-like Expressions 235 16.8 Pattern Matching 237 16.9 Modifying Elements and Attributes 238 16.10 Transforming XML 239 16.11 Loading and Saving 239 16.12 Namespaces 242 Exercises 243 17 FUTURES A2 247 17.1 Running Tasks in the Future 248 17.2 Waiting for Results 250 17.3 The Try Class 251 17.4 Callbacks 251 17.5 Composing Future Tasks 252 17.6 Other Future Transformations 255 17.7 Methods in the Future Object 256 17.8 Promises 258 17.9 Execution Contexts 260 Exercises 260 18 TYPE PARAMETERS L2 265 18.1 Generic Classes 266 18.2 Generic Functions 266 18.3 Bounds for Type Variables 266 18.4 View Bounds 268 18.5 Context Bounds 268 18.6 The ClassTag Context Bound 269 18.7 Multiple Bounds 269 18.8 Type Constraints L3 269 18.9 Variance 271 18.10 Co- and Contravariant Positions 272 xiv Contents18.11 Objects Can’t Be Generic 274 18.12 Wildcards 275 Exercises 275 19 ADVANCED TYPES L2 279 19.1 Singleton Types 280 19.2 Type Projections 281 19.3 Paths 282 19.4 Type Aliases 283 19.5 Structural Types 283 19.6 Compound Types 284 19.7 Infix Types 285 19.8 Existential Types 286 19.9 The Scala Type System 287 19.10 Self Types 288 19.11 Dependency Injection 289 19.12 Abstract Types L3 291 19.13 Family Polymorphism L3 293 19.14 Higher-Kinded Types L3 296 Exercises 299 20 PARSING A3 303 20.1 Grammars 304 20.2 Combining Parser Operations 305 20.3 Transforming Parser Results 307 20.4 Discarding Tokens 308 20.5 Generating Parse Trees 309 20.6 Avoiding Left Recursion 310 20.7 More Combinators 311 20.8 Avoiding Backtracking 314 20.9 Packrat Parsers 314 20.10 What Exactly Are Parsers? 315 20.11 Regex Parsers 316 Contents xv20.12 Token-Based Parsers 317 20.13 Error Handling 319 Exercises 320 21 IMPLICITS L3 323 21.1 Implicit Conversions 324 21.2 Using Implicits for Enriching Existing Classes 324 21.3 Importing Implicits 325 21.4 Rules for Implicit Conversions 326 21.5 Implicit Parameters 328 21.6 Implicit Conversions with Implicit Parameters 329 21.7 Context Bounds 329 21.8 Type Classes 331 21.9 Evidence 333 21.10 The @implicitNotFound Annotation 334 21.11 CanBuildFrom Demystified 334 Exercises 336 Index 338
...展开详情收缩
2017-09-20 上传大小:14.89MB
分享
收藏 举报

评论 共1条

lvsolomon 资源不错, 就是积分太多了
2018-01-24
回复
《快学Scala》, <Scala For the Impatient>习题第一章
scala for the impatient 完整

SCALA,高开发,函数式编程,无逢结合JAVA库。下一代JAVA,你的首选! 不管是scalding, spark,SCALA无处不在。 完事版,不差页,很难找的哦! 资源多多的有,差分就传点了^_^

立即下载
快学 Scala(Scala for the Impatient) 英文版,第二版

Scala for the Impatient 英文第二版,中文翻译为 快学 Scala,Scala 学习的好资料!

立即下载
快学scala二版 英文 Scala for the Impatient(2nd)

快学scala第二版 英文 Scala for the Impatient(2nd) 本资源转载自网络,如有侵权,请联系csdn管理员删除。

立即下载
Scala for the Impatient 2nd

Scala for the Impatient 2nd edition,学习Scala入门必备

立即下载
Scala for the Impatient 第二版

快学Scala第二版英文书,只要3分,大家一起学习

立即下载
functional programming in scala and impatient.pdf

functional programming in scala and scala for impatient pdf

立即下载
Scala for the Impatient 2nd Edition

快学Scala Scala for the Impatient 2nd Edition 两部打包下载,不过第二版截止目前还没有中文版,这个是英文版,不知道为什么资源分最少只能选择2

立即下载
Scala for the impatient

Scala for the impatient 完整版

立即下载
Scala编程完整版.pdf 带书签目录

Scala编程完整版.pdf 带书签目录 Scala编程完整版.pdf 带书签目录Scala编程完整版.pdf 带书签目录

立即下载
Scala for the Impatient 完整版带书签

快速学习Scala入门佳作,Scala之父作序推荐

立即下载
Scala for the Impatient(2nd) epub

Scala for the Impatient(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

立即下载
Scala for the Impatient(2nd) azw3

Scala for the Impatient(2nd) 英文azw3 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

立即下载
Scala for the Impatient 英文

Scala for the Impatient是Scala 入门书籍,资源为英文版的。

立即下载
快学scala二版 中文 带书签

快学Scala第二版中文,这让你最快速度上手Scala,对初学者很实用。文字清晰,且可以复制. 大家一起学习~~~

立即下载
快学scala 第2版 英文

高清pdf原版 非网页版 非整合版 2016.12 Scala for the Impatient, 2nd Edition

立即下载
Scala for the Impatient

提供Scala for the Impatient,用于scala学习开发交流。

立即下载
快学Scala(含详细目录)

scala经典图书,Core Java作者最新力作, 中文版。Scala for the Impatient 中文版 快学Scala pdf(含目录) scala 快速入门书箱 scala经典图书 Core Java作者最新力作 中文版 快学Scala Scala for the Impatient 中文版 [美]C S 霍斯曼 2012 电子工业出版社

立即下载
Scala编程思想(原书第2版).[美]Bruce Eckel(带详细书签).pdf

《Scala编程思想(原书第2版)》介绍了Scala的基础特性,采用短小精悍的“原子”解构Scala语言的元素和方法。一个“原子”即为一个小型知识点,通过代码示例引导读者逐步领悟Scala的要义,结合练习鼓励读者在实践中读懂并写出地道的Scala代码。访问下载练习解答和代码示例,还可了解本书英文版的全新动态。 本书无需编程背景知识,适合Scala初学者阅读。同时,本书也为有经验的程序员提供了“快车道”,共同探索编程语言未来的模样。 ·本书原则:积跬步以至千里,无任何前向引用,无任何对其他语言的引用,事实胜于雄辩,实践出真知。 ·何谓“原子”:从Scala中提炼出一个可运行的核心功能子集,

立即下载
scala for the impatient

a concise tutorial of scala for experienced programmers

立即下载

热点文章

img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
点击完成任务获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

Scala for the Impatient 2nd (完整英文第二版 带书签)

会员到期时间: 剩余下载个数: 剩余C币: 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
50 0 0
为了良好体验,不建议使用迅雷下载
VIP和C币套餐优惠
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载
您还未下载过该资源
无法举报自己的资源

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

  • 举报人:
  • 被举报人:
  • *类型:
    • *投诉人姓名:
    • *投诉人联系方式:
    • *版权证明:
  • *详细原因: