|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MemorizableSequence | |
---|---|
dk.rode.thesis.bridge | Implementations and examples of the Bridge design pattern [Gamma95, p.151]. |
dk.rode.thesis.memento | Implementations and examples of the Memento design pattern [Gamma95, p.283]. |
dk.rode.thesis.visitor | Implementations and examples of the Visitor design pattern [Gamma95, p.331]. |
Uses of MemorizableSequence in dk.rode.thesis.bridge |
---|
Classes in dk.rode.thesis.bridge that implement MemorizableSequence | |
---|---|
class |
MemorizableSequenceAbstraction<E>
A memorizable sequence abstraction refines a sequence abstraction so it can save and restore
its internal implementation in form of mementos . |
Methods in dk.rode.thesis.bridge that return types with arguments of type MemorizableSequence | ||
---|---|---|
private static
|
Main.createMap()
Creates a new map to store (memorizable sequence, memento) pairs. |
Methods in dk.rode.thesis.bridge with parameters of type MemorizableSequence | ||
---|---|---|
private static
|
Main.create(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Creates a new memento acquired from sequence . |
|
private static
|
Main.use(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Updates sequence using the relevant memento stored in
mementos . |
Method parameters in dk.rode.thesis.bridge with type arguments of type MemorizableSequence | ||
---|---|---|
private static
|
Main.create(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Creates a new memento acquired from sequence . |
|
private static
|
Main.use(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Updates sequence using the relevant memento stored in
mementos . |
Uses of MemorizableSequence in dk.rode.thesis.memento |
---|
Classes in dk.rode.thesis.memento that implement MemorizableSequence | |
---|---|
class |
MemorizableEnglishAlphabetSequence
A memorizable alphabet sequence for letters in the English alphabet, i.e. |
class |
RangeSequence
A range sequence represents a positive Integer value
that is increased with each call to RangeSequence.next() , which
can be reversed to deliver previous values
as well unless unbounded. |
Methods in dk.rode.thesis.memento that return types with arguments of type MemorizableSequence | ||
---|---|---|
private static
|
Main.createMap()
Creates a new map to store (memorizable sequence, memento) pairs. |
Methods in dk.rode.thesis.memento with parameters of type MemorizableSequence | ||
---|---|---|
private static
|
Main.create(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Creates a new memento acquired from sequence . |
|
private static
|
Main.use(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Updates sequence using the relevant memento stored in
mementos . |
Method parameters in dk.rode.thesis.memento with type arguments of type MemorizableSequence | ||
---|---|---|
private static
|
Main.checkAccess(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
Sequence<E> sequence)
Checks access rules to guarded mementos. |
|
private static
|
Main.create(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Creates a new memento acquired from sequence . |
|
private static
|
Main.use(Log out,
Map<MemorizableSequence<E>,SequenceMemento<E>> mementos,
MemorizableSequence<E> sequence)
Updates sequence using the relevant memento stored in
mementos . |
Uses of MemorizableSequence in dk.rode.thesis.visitor |
---|
Methods in dk.rode.thesis.visitor with parameters of type MemorizableSequence | |
---|---|
void |
LoggingVisitor.visitMemorizable(MemorizableSequence<?> sequence,
Log out)
|
void |
SequenceTypeVisitor.visitMemorizable(MemorizableSequence<?> sequence,
P argument)
Visits a memorizable sequence. |
void |
TypeVisitor.visitMemorizable(MemorizableSequence<?> sequence,
Void unused)
|
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |