clone( ), 441, 453; supporting cloning in
ConcurrentModificationException, 324
derived classes, 450
conditional operator, 104
Cloneable interface, 439
conference, Software Development Conference, 26
CloneNotSupportedException, 441
console input, 385
close( ), 371
const, in C++, 462
CLSID, 802
constant: compile-time constant, 199; folding, 199;
code: calling non-Java code, 785; coding standards,
groups of constant values, 228; implicit
34, 823; extracting code listings, 753;
constants, and String, 462
organization, 173; re-use, 183
constrained properties, 571
codebase, 473
constructor, 131; and anonymous inner classes,
coding: improving code with inner classes, 603
234; and exception handling, 348; and
collection: class, 265, 271; Hashtable, 764; of
exceptions, 343; and finally, 348; and
primitives, 269
overloading, 133; and polymorphism, 251;
Collection, 294
arguments, 132; base-class constructor, 253;
Collections, 317, 321
base-class constructors and exceptions, 190;
collections library, new, 293
behavior of polymorphic methods inside
constructors, 256; C++ copy constructor, 454;
collision: name, 168
calling base-class constructors with arguments,
colors: desktop colors, 551
189; calling from other constructors, 141;
COM, 801; Java/COM integration, 785
default, 139; default constructor synthesized by
com.ms.com, 806
the compiler, 717; default constructors, 135;
com.ms.win32, 795
initialization during inheritance and
combo box, 586
composition, 190; name, 132; no-arg
comma operator, 105, 121
constructors, 135; order of constructor calls
comments: and embedded documentation, 83
with inheritance, 251; private constructor, 717;
common interface, 219
return value, 133; static construction clause,
common pitfalls when using operators, 106
153
Common-Gateway Interface (CGI), 671
Constructor, 579; for reflection, 426, 729
Comparable, 306, 319
consulting & mentoring provided by Bruce Eckel,
Comparator, 306, 319
35
compare( ), 319
consume( ), 519
compareTo( ), 320
Container, 489
comparison: natural comparison method, 319
container class, 265
compilation unit, 164
ContainerAdapter, 513
compile-time constant, 199
ContainerEvent, 510, 511
compiling, automatic compilation, 168
ContainerListener, 510
complexity theory, Boids example, 777
content-type, HTML, 695
Component, 472, 487, 489, 493, 592
continue keyword, 121
component, and Java Beans, 560
control framework, and inner classes, 245
ComponentAdapter, 513
controlling access, 43, 180
componentAdded( ), 512
conversion: automatic, 184; narrowing conversion,
107, 139; widening conversion, 107
ComponentEvent, 510, 511
copy: deep copy, 438; shallow copy, 438
componentHidden( ), 512
copy-constructor, in C++, 692
ComponentListener, 510
CORBA, 712, 807
componentMoved( ), 512
CORBA and Java, interfacing, 785
componentRemoved( ), 512
couplet, 603, 749
componentResized( ), 512
coupling, 331
componentShown( ), 512
CRC32, 390
composition, 183, 291; and cloning, 443; and
design, 258; and design patterns, 716; and
createStatement( ), 701
dynamic behavior change, 259; choosing
creational design patterns, 718, 724
composition vs. inheritance, 195; combining
critical section, and synchronized block, 618
composition & inheritance, 190; vs. inheritance,
currentThread(), 599
199, 378
daemon threads, 610
compression: Java 1.1 compression library, 388
Index
847
data: final, 199; primitive data types and use with
dialog box, 502
operators, 109; static initialization, 151
Dictionary, 282
database: flat-file database, 703; Java DataBase
directory: and packages, 172; creating directories
Connectivity (JDBC), 699; relational database,
and paths, 366; lister, 362
703; URL, 700
dispatchEvent( ), 529
DatabaseMetaData, 707
dispatching: double dispatching, 737, 744; multiple
DataFlavor, 559
dispatching, 737
Datagram, 666, 672, 677; receive( ), 681; User
dispatching messages, AWT, 529
Datagram Protocol (UDP), 666
dispose( ), 502, 556
DatagramPacket, 666, 669, 679
division, 94
DatagramSocket, 666, 679
documentation: comments & embedded
DataInput, 361
documentation, 83
DataInputStream, 359, 371, 372, 382, 754
Domain Name Service (DNS), 654
DataOutput, 361
dotted quad, 654
DataOutputStream, 361, 372, 383, 754, 765
double dispatching, 737, 744
DCOM, 712
double, literal value marker (D), 108
dead, Thread, 623
Double.valueOf( ), 731
deadlock, multithreading, 627, 632
do-while, 120
decorator design pattern, 358
downcast, 199, 261, 418; type-safe downcast in
decoupling through polymorphism, 209
run-time type identification, 418
decrement operator, 96
drawString( ), 472
deep copy, 438, 443; and Vector, 445; using
drop-down list, 484
serialization to perform deep copying, 446
dynamic: array creation, 728; behavior change



 

 

 

 

 

 

 

 

 

 

 

 

   
 
  removing/turning off clonability, 450; content-type, 695; intercepting results, 687; super...
Pomodliłem się do każdego boga jaki istniał bym był w wstanie wkurzyć tę kobietę do granic możliwości.