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

Uses of Interface
dk.rode.thesis.state.StateableSequence

Packages that use StateableSequence
dk.rode.thesis.state Implementations and examples of the State design pattern [Gamma95, p.305]. 
dk.rode.thesis.visitor Implementations and examples of the Visitor design pattern [Gamma95, p.331]. 
 

Uses of StateableSequence in dk.rode.thesis.state
 

Classes in dk.rode.thesis.state that implement StateableSequence
 class AbstractStateableSequence<E>
          An abstract stateable sequence implements the basic traits of a stateable sequence.
 class ReversiblePrimeSequence
          A reversible prime sequence returns with each call to next() the next prime number in the sequence of prime numbers smaller than maximum, where maximum is supplied at construction time, or a previously calculated prime number with each call to next() after ReversiblePrimeSequence.reverse() has been invoked.
 

Methods in dk.rode.thesis.state with parameters of type StateableSequence
 E FunctionalState.action(Sequence.State internalState, StateableSequence<E> sequence)
          Depending on the value of the internal state supplied as internalState, the following forms of actions are inferred: Sequence.State.START: initialisation requested.
 Integer ReversiblePrimeSequence.PrimeState.action(Sequence.State internalState, StateableSequence<Integer> sequence)
           
 

Constructors in dk.rode.thesis.state with parameters of type StateableSequence
AbstractStateableSequence(StateableSequence<E> sequence)
          Copy constructor.
 

Uses of StateableSequence in dk.rode.thesis.visitor
 

Classes in dk.rode.thesis.visitor that implement StateableSequence
 class VisitableReversiblePrimeSequence
          A visitable reversible prime sequence is a ReversiblePrimeSequence that is value visitable using the SequenceValueVisitor.visitIntegerValued(Sequence, Object) visitation method and is type visitable as well.
 

Methods in dk.rode.thesis.visitor with parameters of type StateableSequence
 void LoggingVisitor.visitStateable(StateableSequence<?> sequence, Log out)
           
 void SequenceTypeVisitor.visitStateable(StateableSequence<?> sequence, P argument)
          Visits a stateable sequence.
 void TypeVisitor.visitStateable(StateableSequence<?> sequence, Void unused)
           
 


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.