23.07.2012 Views

Design Patterns Explained

Design Patterns Explained

Design Patterns Explained

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

33O Index<br />

instinct, paying attention to gut, 65<br />

intent, design pattern, 79 Interaction<br />

Diagram, 30, 38-40 interface, object's<br />

public, 16, 20 Internet retailing. See<br />

e-tailing case study is-a relationship, 18,<br />

31, 34, 214 Ishikawa, Sara, 72 Iterator<br />

pattern, 299<br />

J<br />

Java<br />

and Bridge pattern, 150, 152<br />

code examples<br />

drawing circles/rectangles, 127,<br />

129-130 implementing<br />

CAD/CAM V1<br />

methods, 61 implementing<br />

CAD/CAM V2<br />

methods, 62<br />

implementing ResFactory, 172<br />

instantiating CAD/CAM V1 features,<br />

60 instantiating CAD/CAM V2<br />

features,<br />

61-62<br />

using Adapter pattern, 101 using<br />

Bridge pattern, 127, 129-130,<br />

147-149<br />

using Decorator pattern, 246-247<br />

using Double-Checked Locking<br />

pattern, 261<br />

using Observer pattern, 270-271<br />

using polymorphism to solve<br />

problem, 168<br />

using Singleton pattern, 257 using<br />

switch to control device driver,<br />

165<br />

and Observer pattern, 272 recommended<br />

books on, 316-317 and Singleton pattern,<br />

259 and stream I/O, 250<br />

java.io.InputStream class, 250 Johnson,<br />

Ralph, 80. See also Gang of Four<br />

K<br />

KADS, 77<br />

Knowledge Analysis and <strong>Design</strong> Support,<br />

77<br />

L<br />

locking, double-checked, 260<br />

M<br />

machine-readable instructions, 48<br />

maintenance, effect of class explosion on,<br />

64, 65<br />

makeDB method, 286<br />

McConnell, Steve, 8<br />

Mediator pattern, 299<br />

member, 27 memory<br />

leak, 259 methods<br />

defined, 14, 27<br />

defining parameters for, 235<br />

encapsulation of, 114<br />

redundancy among, 63<br />

special types of, 24-26 Meyer, Bertrand, 15,<br />

218 minus sign (-) access notation, 33<br />

model, CAD/CAM, 48 modeling language,<br />

29. See also UML modifiability, code, 85<br />

modularity, containing variation with, 7-8<br />

motivation, object, 112 multithreaded<br />

applications, 255, 258-259, 261<br />

N<br />

NC machine, 48<br />

NC set, 48, 49, 50, 206<br />

Note symbol, UML, 36<br />

notification, event, 266-267, 268, 274<br />

notify method, 268

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!