Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Class Creator

  extended by dk.rode.thesis.command.Creator

abstract class Creator
extends Object

Simple helper class to create a list of commands based on a sequence for the Main.test(Log, Arguments) method.

Gunni Rode / rode.dk

Constructor Summary
          No-arg constructor.
Method Summary
(package private) abstract
<E> List<Command<E>>
create(Sequence<E> sequence, Boolean fail)
          Returns a list of test commands primed with sequence as the receiver.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


No-arg constructor.

Method Detail


abstract <E> List<Command<E>> create(Sequence<E> sequence,
                                     Boolean fail)
Returns a list of test commands primed with sequence as the receiver.

Type Parameters:
E - The type of values delivered by sequence.
sequence - The sequence to use; never null.
fail - Flag to determine if the test is supposed to fail or not.
The created commands; never null.

Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.