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 28
Page 163
... object , then it waits until a Reusable object is returned to the collection . Client objects pass a Reusable object to a Reusable Pool object's releaseReusable method ... Object Pool pattern keeps objects that Creational Patterns □ 163.
... object , then it waits until a Reusable object is returned to the collection . Client objects pass a Reusable object to a Reusable Pool object's releaseReusable method ... Object Pool pattern keeps objects that Creational Patterns □ 163.
Page 164
... Object Pool pattern keeps objects that are not being used available for reuse . If the program that is using an object pool is running out of mem- ory , then you would like the garbage collector to be able to remove objects from the pool ...
... Object Pool pattern keeps objects that are not being used available for reuse . If the program that is using an object pool is running out of mem- ory , then you would like the garbage collector to be able to remove objects from the pool ...
Page 166
... object pool using soft references . public class SoftObject Pool implements Object PoolIF { / ** * This collection contains the objects that are waiting * to be reused . * / private ArrayList pool ; Because there is no fixed limit on ...
... object pool using soft references . public class SoftObject Pool implements Object PoolIF { / ** * This collection contains the objects that are waiting * to be reused . * / private ArrayList pool ; Because there is no fixed limit on ...
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