| < Day Day Up > |
|
Tagged interface, 110, 150, 412
Templates, 131–132
Threads, 3, 21, See also Components; Concurrent programming
context switching, 34–38
coordinating, 55
using long sleep times, 235–237
using wait/notify, 237–240
definition, 412
extending class, 24
GUI, See GUI threads
handling multiple contexts, 30
multiple threads and output, 24–27
parents and children, 37–38
priorities, 35
procedural and concurrent programs,22–24
processes vs., 30–31
servlets, 30, 31
simple execution model, 27–41, See Simple virtual machine (SVM) model
sleeping and blocked states, 39–40
writing, 22
Thread-safe objects, 18, 51, 123
definition, 412
Vector and Hashtable classes, 183
Throwable class exception, 169, 172
Throws clause, 174
Total ordering, 7, 25
Transient, 111
Try-catch blocks, 161–165
exception propagation, 165–167
finally block, 167
JVM, 167
Type matching
C++ unsafe mechanisms, 98
Java mechanisms, 98–99
instanceof operator, 103
objects, 100–102
primitives, 99–100
runtime data tags, 101–109
runtime data type tags, 100–109
Type mismatch, 97–98, See Data types; Error handling; Identifiers; Type matching; Variables
memory corruption, 102–103
| < Day Day Up > |
|