O'Reilly logo

Scala for the Impatient by Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

Symbols and Numbers

- (minus sign)

in identifiers, 132

operator:

arithmetic, 5

for collections, 163164

for maps, 43

for type parameters, 237

left-associative, 135

precedence of, 134

unary, 10, 133

-- operator

arithmetic, 6

for collections, 163164

for sets, 162163

_ (underscore)

as wildcard:

for XML elements, 220

in case clauses, 25, 184185, 221, 292

in imports, 7, 70, 7980

in tuples, 45

for function calls, 144, 254

for function parameters, 146

in identifiers, 131, 283

_* syntax

for arrays, 187

for nested structures, 192

in function arguments, 22

in pattern matching, 221

_=, in setter methods, 51

_1, _2, _3 methods, 45

; (semicolon)

after statements, 4, 1416

inside loops, 1920

: (colon)

followed by annotations, 201

in case clauses, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required