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

Uses of Class
dk.rode.thesis.composite.CompositeStrategy

Packages that use CompositeStrategy
dk.rode.thesis.composite Implementations and examples of the Composite design pattern [Gamma95, p.163]. 
dk.rode.thesis.visitor Implementations and examples of the Visitor design pattern [Gamma95, p.331]. 
 

Uses of CompositeStrategy in dk.rode.thesis.composite
 

Fields in dk.rode.thesis.composite declared as CompositeStrategy
private  CompositeStrategy AbstractCompositeSequence.strategy
          The strategy used for traversal starting from this composite unless a strategy is specifically requested.
 

Methods in dk.rode.thesis.composite that return CompositeStrategy
 CompositeStrategy CompositeSequence.getCompositeStrategy()
          Return the current strategy used by this composite sequence to traverse the associated sequence graph.
 CompositeStrategy AbstractCompositeSequence.getCompositeStrategy()
           
static CompositeStrategy CompositeStrategy.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompositeStrategy[] CompositeStrategy.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in dk.rode.thesis.composite with parameters of type CompositeStrategy
 List<Sequence<? extends E>> CompositeSequence.getSequences(CompositeStrategy strategy, boolean includeSelf, Boolean type)
          Returns the sequences currently reachable from this composite sequence, in the order specified by strategy.
 List<Sequence<? extends E>> AbstractCompositeSequence.getSequences(CompositeStrategy strategy, boolean includeSelf, Boolean type)
           
<V extends Sequence<?>>
List<V>
CompositeSequence.getSequences(CompositeStrategy strategy, boolean includeSelf, Boolean type, Class<V> clazz)
          Returns the sequences currently reachable from this composite sequence, in the order specified by strategy.
<V extends Sequence<?>>
List<V>
AbstractCompositeSequence.getSequences(CompositeStrategy strategy, boolean includeSelf, Boolean type, Class<V> clazz)
           
 void CompositeSequence.setCompositeStrategy(CompositeStrategy strategy)
          Sets the current strategy used by this composite sequence to traverse the associated sequence graph to strategy.
 void AbstractCompositeSequence.setCompositeStrategy(CompositeStrategy policy)
           
protected abstract
<E,C extends List<Sequence<? extends E>>>
C
CompositeStrategy.traverse(Sequence<? extends E> sequence, Boolean type, C sequences, CompositeStrategy strategy)
          Adds all sequences reachable from sequence to sequences as dictated by this strategy, including sequence if not already added.
 

Constructors in dk.rode.thesis.composite with parameters of type CompositeStrategy
AbstractCompositeSequence(CompositeStrategy strategy, Sequence<? extends E>... sequences)
          Constructor.
CharSequenceCompositeSequence(CompositeStrategy strategy)
          Constructor.
 

Uses of CompositeStrategy in dk.rode.thesis.visitor
 

Fields in dk.rode.thesis.visitor declared as CompositeStrategy
private  CompositeStrategy SimpleScanner.strategy
          The composite traversal strategy to use.
 

Methods in dk.rode.thesis.visitor that return CompositeStrategy
 CompositeStrategy SimpleScanner.getCompositeStrategy()
          Return the currently used strategy by this scanner to traverse sequence structures.
 

Methods in dk.rode.thesis.visitor with parameters of type CompositeStrategy
 void SimpleScanner.setCompositeStrategy(CompositeStrategy strategy)
          Sets the strategy to use by this scanner to traverse sequence structures to strategy
 

Constructors in dk.rode.thesis.visitor with parameters of type CompositeStrategy
SimpleScanner(CompositeStrategy strategy)
          Constructor.
VisitableCompositeSequence(CompositeStrategy strategy)
          Constructor.
 


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.