Programming and Problem Solving with Java

(やまだぃちぅ) #1
753

determining responsibilities, 280–284
filtering, 278–280
and inheritance, 285
CRC cards, 269, 274, 299, 315, 325
for Addressclass, 307 , 331
for AddressDrclass, 307
blank, 279
for BoxAddressclass, 330 , 332
for BusinessPhoneclass, 349
for Calculatorclass, 413
for ClearHandlerclass, 414
for CompanyAddressclass, 331
creating, 278
for DataSetExceptionclass, 460
for Dateclass, 359
and derived class implementation, 346
for Entryclass, 283 , 306
for EntryPlusclass, 361
for GradeExamsclass, 504
for HomeAddressclass, 329 , 332
with initial responsibilities, 280, 281
for LabelDriverclass, 563
for Listclass, 526 , 543, 544
for Matrixclass, 605
for NumericHandlerclass, 414
for Phoneclass, 289
for PlusDriverclass, 361
for Rainfallclass, 404 , 460
for Searchclass, 672
for SortedListclass, 544
for Spectrumclass, 290
for Stationclass, 404
and testing and debugging, 314
for WorkAddressclass, 331
CRC card technique, 276
Cubic formula, 454
Cubic time, 454
currentPos, 531, 535, 536
Cyberspace, coinage of word for, 580
Cycloid curve, 121


D


Dahl, Ole-Johan, 325
Dangling else, 176–177
DARPA.SeeDefense Advanced Research
Projects Agency
Dartmouth College, 211
Data, 4, 5, 15, 34, 255, 271


binary representation of, 9–10
entering using fields in frame, 394–395
internal representation of, 291–292
privacy of, 302
reading in event handler, 398–401
separating from code, 67
storage and retrieval of, 16
Data abstraction, 179
Data coverage, 192
Data entry fields
classes for, 333
creating, 396–397
Java field distinct from, 394, 395
Data entry process, 396
dataFile, read line from, 241
dataLine, 217
dataPane, 387, 401
Data Processing Management Association,
443
Data representation, for grading true/false
tests case study, 504
DataSetExceptionclass, 459, 462, 463
CRC card for, 460
dataSize, 487
Data storage, 49
Data structure, 483
DataType, 486
Data types, 19, 79
atomic, 480–481
avoiding mixing of, 115, 117–118, 620
built-in, 47–50
composite, 481–482
of ConstantExpression, 439
in Java, 479, 480
mixing in comparisons, 157
ordinal, 481
scalar, 481
structured, 482
unstructured, 482
Data validation checks, 510
Data values, 227, 480
Dateclass, 81, 291
CRC card for, 359
Dateobject, 179, 291
Dates, and Julian day, 179, 180
dBase II, 522
Debugger application, and loop testing,
253
Free download pdf