Patterns in Java: A Catalog of Reusable Design Patterns Illustrated with UML, Volume 1"This is the best book on patterns since the Gang of Four's Design Patterns. The book manages to be a resource for three of the most important trends in professional programming: Patterns, Java, and UML." —Larry O'Brien, Founding Editor, Software Development Magazine Since the release of Design Patterns in 1994, patterns have become one of the most important new technologies contributing to software design and development. In this volume Mark Grand presents 41 design patterns that help you create more elegant and reusable designs. He revisits the 23 "Gang of Four" design patterns from the perspective of a Java programmer and introduces many new patterns specifically for Java. Each pattern comes with the complete Java source code and is diagrammed using UML. Patterns in Java, Volume 1 gives you:
The CD-ROM contains:
|
From inside the book
Results 1-3 of 29
Page 319
... command is invoked through a call to the class's undoIt method . The object's constructor normally supplies any parameters that the command requires . Most commands require at least one parameter , which is the object that the command ...
... command is invoked through a call to the class's undoIt method . The object's constructor normally supplies any parameters that the command requires . Most commands require at least one parameter , which is the object that the command ...
Page 320
... commands with a smaller number of command classes . UNDO / REDO Another implementation issue to consider is the capture of state informa- tion necessary to undo commands . In order to be able to undo the effects of a command , it is ...
... commands with a smaller number of command classes . UNDO / REDO Another implementation issue to consider is the capture of state informa- tion necessary to undo commands . In order to be able to undo the effects of a command , it is ...
Page 321
... command object or even requiring user - interface components to know about any concrete command classes . The extension consists of embedding the name of a command in user - interface components and using a factory method object to ...
... command object or even requiring user - interface components to know about any concrete command classes . The extension consists of embedding the name of a command in user - interface components and using a factory method object to ...
Contents
A Brief History of Patterns | 4 |
Collaboration Diagram | 18 |
Statechart Diagram | 27 |
Copyright | |
29 other sections not shown
Other editions - View all
Patterns in Java: A Catalog of Reusable Design Patterns Illustrated with UML Mark Grand Limited preview - 2003 |
Common terms and phrases
abstract class Abstract Factory Abstract Factory pattern allows boolean Builder pattern bytes class diagram classes that implement client classes client object clone CODE EXAMPLE collaboration diagram combination command Composite pattern computation concrete constructor contains Context heading create database delegate diagram in Figure document DocumentElement encapsulate event execute Façade Façade pattern Factory Method pattern Flyweight Flyweight pattern font GameModel getInstance Guarded Suspension imple instance variables instantiate interactions Interface pattern IOException Iterator little language lock object logic Mediator pattern method call method returns MilestoneMemento multiple null number of objects Object Pool operation operation2 param parse pattern described Patterns in Java Proxy pattern public class public void queue ReadWriteLock reference RELATED PATTERNS request responsible Reusable reuse role Scheduler sensor serialization server shown in Figure singleton static Strategy pattern String subclasses superclass synchronized thread throws tion token Visitor pattern wait widget write lock