Index 749
relational operations (>, <, >=, <=)
on numeric types, 119
on trait Ordered, 252–254
remove method
on class List, 79
rendererComponent method
on class Table, 686
rep method
on trait Parsers, 663
repeated parameters, 75, 188–189
vararg matching, 523
representation independence, 526
repsep method
on trait Parsers, 663
require method
on object Predef, 133
resources, ensuring release of, 162,
203
result type, 62
covariance of, 427
return keyword, 96
return type, 62
returning multiple values, 80, 384
reverse method
on class List, 79, 336
rich wrappers pattern, 127–128, 475
RichInt class, see Int class
RichString class, see String class
rowHeaderView property
on class ScrollPane, 685
Ruby language, xxvii, 40, 47, 465
Rumbaugh, James, 260
running a Scala program, see scala
runtime type, definition of, 719
S
saveFull method
on XML, 548
scala (Scala launcher)
to launch applications, 104
to launch scripts, 65
to launch the interpreter, 59
Scala language
class hierarchy diagram, 239
compatibility with Java, 39,
48–49, 594–606
compiling, 104
conciseness versus Java, 49–51
downloading, 58
IDEs, 58
influences on, 55–57
interpreter shell, 58–60
naming of source files, 103
pronunciation of “Scala”, 39
scalability of, 45–48, 555, 706
scripts, see scripts, Scala
specification, xxxii
scalability
of configuration, 565
of Scala language, 45–48, 555,
706
of teams, 554
scalac (Scala compiler), 104
ScalaCheck, 281, 288–289
Scaladoc, 532
ScalaObject trait, 241
ScalaTest, 281–292
scanner generators, 642
Scheme language, 47
scope
of implicit conversions, 468
of variables, 167–170
scripts, Scala, 64–65, 103
running on Unix, 708
running on Windows, 708
ScrollPane class, 683, 685
sealed classes, 310–312
sealed modifier, 310, 526
selectors
in match expressions, 296
selectors, in imports, 270
self references, 135–136
self types, 563, 696, 700
semi-structured data, 539
semicolon inference, 98–99
Cover · Overview · Contents · Discuss · Suggest · Glossary · Index