|
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 | ||||||||
E - The type of values delivered by the created sequences.P - The type of argument required in the creation process of
sequences. Use Void if no arguments are required.@Participant(value="AbstractFactory") public interface SequenceFactory<E,P>
A sequence factory provides a general
creation method to
create initialised sequences in a single step.
The type of created sequences and the arguments used in the creation process is specific to the implementation.
| Method Summary | |
|---|---|
Sequence<E> |
createSequence(P argument)
Creates a new initialised sequence instance. |
| Method Detail |
|---|
Sequence<E> createSequence(P argument)
sequence instance.
argument - A context supplied argument to use in creation process,
if any.
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||