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

Uses of Interface
dk.rode.thesis.observer.SequenceObserver

Packages that use SequenceObserver
dk.rode.thesis.observer Implementations and examples of the Observer design pattern [Gamma95, p.293]. 
 

Uses of SequenceObserver in dk.rode.thesis.observer
 

Subinterfaces of SequenceObserver in dk.rode.thesis.observer
 interface AspectObservableSequence<O,A,E>
          An aspect observable sequence is a sequence that allows for observers of the type supplied as the type parameter O to subscribe to specific sequence aspect values and be notified when the sequence changes its aspect to such a value.
 interface ObservableSequence<O,A,E>
          An observable sequence is a sequence that allows for observers of the type supplied as the type parameter O to be notified when the sequence changes its aspect.
 

Classes in dk.rode.thesis.observer that implement SequenceObserver
 class AnnotatedObserversSequence<E>
          An annotated observers sequence implements the basic traits of any observable sequence that uses the Executor annotation to identify notification methods for observers that accepts a Sequence type as the first argument and a Sequence.State type as the second.
 class AnnotatedObserversSequenceDecorator<E>
          An annotated observers sequence decorator decorates any Sequence to become an observable sequence that uses the Executor annotation to identify notification methods for observers that accepts a Sequence type as the first argument and a Sequence.State type as the second.
private  class BirthdayRegistry.RegistryObserver<A>
          A registry observer forwards call to the enclosing registry.
 class CorrelatedSequenceObserver
          A correlated sequence observer correlates the behaviour of an observable sequence with another (perhaps observable) Sequence.
 class DateSequence
          An observable date sequence is a sequence that will advance an initial date by one day each time next() is invoked and then notify relevant observers of its state changes.
 class PrintSequenceObserver
          A print sequence observer prints the state of any observable sequence it is observing.
 class SequenceObserversSequence<E,A>
          A sequence observers sequence implements the basic traits of any observable sequence that uses a sequence observer as the notification mechanism.
 class SequenceObserversSequenceDecorator<E,A>
          A sequence observers sequence decorator decorates any sequence to become an observable sequence that uses a sequence observer as the notification mechanism.
 

Fields in dk.rode.thesis.observer with type parameters of type SequenceObserver
private  Map<SequenceObserver<A>,Set<A>> SequenceObserversSequence.observers
          A set containing the current added observers and their associated aspects they subscribe to.
 

Methods in dk.rode.thesis.observer that return types with arguments of type SequenceObserver
 Collection<SequenceObserver<A>> SequenceObserversSequence.getObservers()
           
 Collection<SequenceObserver<A>> SequenceObserversSequence.getObservers(A aspect)
           
 

Methods in dk.rode.thesis.observer with parameters of type SequenceObserver
 boolean SequenceObserversSequence.addObserver(SequenceObserver<A> observer)
           
 boolean SequenceObserversSequence.addObserver(SequenceObserver<A> observer, A aspect)
           
 Set<A> SequenceObserversSequence.getAspects(SequenceObserver<A> observer)
           
 

Method parameters in dk.rode.thesis.observer with type arguments of type SequenceObserver
<A> boolean
BirthdayRegistry.register(AspectObservableSequence<SequenceObserver<A>,A,Date> sequence, A... aspects)
          Registers this registry as an observer for the observable sequence supplied as sequence, if not already.
<A> boolean
BirthdayRegistry.register(ObservableSequence<SequenceObserver<A>,A,Date> sequence)
          Registers this registry as an observer for the observable sequence supplied as sequence, if not already.
 

Constructor parameters in dk.rode.thesis.observer with type arguments of type SequenceObserver
SequenceObserversSequence(AspectObservableSequence<SequenceObserver<A>,A,E> sequence)
          Copy 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.