TextField class, 719
TextListener interface, 650, 652
this, 120–121, 141
this( ), 312–314
Thompson, Ken, 4
Thread class, 13, 226, 422–424, 522
constructors, 229, 231, 422
extending, 230–232
methods, table of, 423–424
Thread(s)
creating, 228–233
daemon, 522
and deadlock, 247–249, 251
definition of, 223
executors to manage, using, 788, 801–806
group, 227, 424–429
main, 226–227, 230, 232, 233
messaging, 225, 242–247
pool, 802–804
possible states of, 224
priorities, 224–225, 236–238, 422
resuming, 249–253, 426
stopping, 249, 251–252
suspending, 226, 227, 228, 249–253, 426
and Swing, event dispatching, 867–868,
871, 873
synchronization.SeeSynchronization
ThreadGroup class, 424–429
methods, table of, 425–426
ThreadLocal class, 429
ThreadPoolExecutor class, 788, 802
throw, 205, 213–214
Throwable class, 206, 209, 219, 221, 431
methods defined by, table of, 219
obtaining object of, 213–214
throws, 205, 214–215, 217
Thumb, 716
Time.SeeDate class
timedJoin( ), 807
timedWait( ), 807
Timer class, 522–524
methods, table of, 523
TimerTask class, 522–524
methods, table of, 522
Timestamps, 641
TimeUnit enumeration, 788, 795, 805, 806–807
TimeZone class, 513–514
methods defined by, table of, 514
toArray( ), 441, 442, 450–451
toBinaryString( ), 394, 396, 397
toCharArray( ), 366
toDays( ), 807
toDegrees( ), 421
toHexString( ), 388, 389, 394, 396, 397
toHours( ), 807
Tokens, 503, 541, 590
toLowerCase( ), 375–376, 400, 401
Tomcat, 908–909
toMicros( ), 807
toMillis( ), 807
toMinutes( ), 807
toNanos( ), 807
toOctalString( ), 394, 396, 397
TooManyListenersException, 850
toRadians( ), 421
toSeconds( ), 807
toString( ), 181, 182, 209, 219, 220, 266, 272, 278,
292, 364–365, 375, 380, 388, 389, 391, 392, 394,
396, 397, 403, 413, 417, 424, 426, 430, 432, 433,
450, 483, 489, 495, 506, 507, 508, 525, 527, 528,
574, 575, 587, 602, 639, 834, 901
totalMemory( ), 405–406
toUpperCase( ), 375–376, 400
transient modifier, 299, 851
translatePoint( ), 646
Transmission Control Protocol (TCP), 601
definition of, 599
and stream-based I/O, 601
See alsoTCP/IP
TreeExpansionEvent class, 901
TreeExpansionListener interface, 901
TreeMap class, 468, 470–471, 472, 502
TreeModel, 901
TreeModelEvent class, 901
TreeModelListener interface, 901
TreeNode interface, 901
TreePath class, 901
Trees, Swing, 900–903
TreeSelectionEvent class, 901
TreeSelectionListener interface, 901
TreeSelectionModel, 901
TreeSet class, 448, 454, 455–456, 472, 502
trim( ), 373–374
trimToSize( ), 384, 450, 489
true, 32, 39, 40, 71
TRUE, 402
True and false in Java, 40, 71
Truncation, 46
try block(s), 205, 207–213, 216
nested, 211–213
tryLock( ), 789, 808, 809
Two’s complement, 62–63
1022 Java: The Complete Reference