|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The type of copyable object.@Participant(value="Prototype") public interface StrictCopyable<T extends StrictCopyable<T>>
A strict copyable object can return a deep copy of it self any type implementing this interface can act as a prototype.
Though not required, it is prudent to supply a copy constructor
for any type implementing the Copyable interface.
Implementation notes:
Unlike Copyable, this interface will return an instance of the
copyable type itself.
| Method Summary |
|---|
| Methods inherited from interface dk.rode.thesis.prototype.Copyable |
|---|
copy |
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||