
Index 735
class . . . of type . . . method
. . . needs ’override’
modifier, 221
illegal inheritance from final
class, 225
inferred type arguments . . . do
not conform to method
. . . type parameter bounds
. . . , 433
method . . . overrides nothing,
220, 447
missing arguments for method
. . . follow this method with
’_’ if you want to treat it as
a partially applied
function, 184
no implicit argument matching
parameter type . . . was
found, 381, 476, 478
not found: value . . . , 114, 184
overloaded method value
. . . with alternatives
. . . cannot be applied to
. . . , 474
pattern is unchecked since it is
eliminated by erasure, 584
reassignment to val, 61, 378
trait . . . takes type parameters,
417
type mismatch, 188, 381, 421,
449, 450, 463, 471, 485,
565, 566
unreachable code, 310
value . . . is not a member of . . . ,
134, 442
compiler warnings
match is not exhaustive, 316,
401
non variable type-argument
. . . in type pattern is
unchecked since it is
eliminated by erasure, 305,
584
there were unchecked warnings;
re-run with -unchecked for
details, 305
Compilers: Principles, Techniques,
and Tools (Aho, et. al.),
670n
compiling, 104
complexity, managing, 51
Component class, 673
composition, 216, 226
mixin, see mixin composition
concat method
on object List, 354
conciseness
Scala versus Java, 49–51
concurrency
actors model, 43, 607–641
and testing, 608
shared data and locks, 608
shared-nothing, 608
ConcurrentHashMap class, 619
configuring
to wire modules together, 554
with Scala code, 565
cons (::) method
on class List, 76, 328, 412, 489
right associativity of, 77
short for construct, 489
Console object, 89
constant patterns, 296, 299
constants, 142
constructor patterns, 296, 301
constructors, 71
auxiliary, 136–137
in Java versus Scala, 131
invoking superclass, 219
primary, 130–132
private, 414
Container trait, 673
contains method
on Map traits, 372
Cover · Overview · Contents · Discuss · Suggest · Glossary · Index