Programming and Problem Solving with Java

(やまだぃちぅ) #1

744


Note: Italicized page locators indicate
figures/tables.

A
Abacus, 2, 496
Absolute error, 598
Absolute value, 120
Abstract, 333
Abstract class, 333
derived class and extension of,
365
and Listclass, 548–550
Abstraction, 177, 178, 179–183, 242, 286,
292, 672
control, 179
data, 179
levels of, 12
abstractmodifier, 335
Abstract steps, 287
Access modifiers, 52, 273, 294, 345
ACM.SeeAssociation for Computing
Machinery
ActionEventclass, 388
ActionEventvalue, 421
ActionHandlerclass, 403, 405, 406
ActionListenerclass, 387, 388, 677
ActionListenerinterface, 420, 421, 662
actionPerformedmethod, 387, 389, 409, 416,
417
Ada, 11, 95, 271, 522
addActionListenermethod, 387, 388, 389,
420, 421
and Calculator2class, 665
with this as argument for, 665, 676
Adding machine, 40
addinstance method, and labels, 380
Addition operator (+), 108, 141
addmethod, 397
button added to frame and, 386, 387
and JLabelobject, 380
user interface objects added to content
pane with, 421
Address book case study, 304–313
brainstorming for, 304
filtering for, 304–305
responsibilities for, 305–307

responsibility algorithms for, 308–309
Address book extension case study,
359–364
brainstorming for, 359
library search for, 360
responsibilities for, 359–360
responsibility algorithms for, 361–362
Address books merging case study,
562–570
brainstorming for, 562
filtering for, 562
responsibilities for, 563
responsibility algorithms for, 563–566
Addressclass, 132, 307, 309–310, 436
CRC card for, 331
AddressDrclass, 311–313
Addresses
base, 499
memory cell, 20
of memory locations and values
storage, 100, 101
Addressobject, 436, 437
Addressobject hierarchy, 332
Adelman, Leonard, 479
Adobe Systems Inc., founding of, 523
Aggregate array operations, 491–493
Aiken, Howard, 98
Algol, 113
Algorithms, 6, 7, 22, 29, 33, 270.See also
Responsibility algorithms
analysis of, 452–455
binary search, 651–653
and data structure, 483
design of, 23
and functional decomposition, 285, 287
and internal data representation, 291
for knowledge responsibilities, 293
recursive, 636, 637, 640, 651
searching, 671
sorting, 540
Algorithm walk-through, 197, 254, 280
Allen, Paul, 478
Alpha, 110
alphaarray, 582 , 583
alpha.length, 583
Alphanumeric characters, 480
Free download pdf