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

Interface TypeVisitableSequence<E>

Type Parameters:
E - The type of values delivered by this sequence.
All Superinterfaces:
Copyable<Sequence<E>>, Sequence<E>, StrictCopyable<Sequence<E>>, Stringable<Sequence<E>>
All Known Implementing Classes:
AbstractVisitableSequence, DateValuedVisitableSequence, IntegerValuedVisitableSequence, ReflectiveVisitableSequence, StringValuedVisitableSequence, VisitableCompositeSequence, VisitableLongSequence, VisitableReversiblePrimeSequence

public interface TypeVisitableSequence<E>
extends Sequence<E>

A type visitable sequence allows visitation by type visitors.

Gunni Rode / rode.dk
See Also:

Nested Class Summary
Nested classes/interfaces inherited from interface dk.rode.thesis.meta.model.Sequence
Method Summary
<P> void
accept(SequenceTypeVisitor<P> visitor, P argument)
          Visits this visitable sequence using the type visitor supplied as visitor.
Methods inherited from interface dk.rode.thesis.meta.model.Sequence
bounded, consistent, copy, current, next, reset, state, unique
Methods inherited from interface dk.rode.thesis.strategy.Stringable
getStringablePolicy, toString

Method Detail


<P> void accept(SequenceTypeVisitor<P> visitor,
                P argument)
Visits this visitable sequence using the type visitor supplied as visitor.

Type Parameters:
P - The type of visitor-supplied argument. Use Void for visitors that do not need an additional argument.
visitor - The visitor; never null.
argument - A context supplied argument, if any.
See Also:
SequenceTypeScanner.scan(TypeVisitableSequence, SequenceTypeVisitor, Object)

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.