|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | ||||||||
PREV NEXT | FRAMES NO FRAMES |