Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6
A B C D E F G H I K L M N O P R S T U V W Z

A

AbstractCharacter - Class in dk.rode.thesis.flyweight
An abstract character implements the basic traits of the Character interface.
AbstractCharacter() - Constructor for class dk.rode.thesis.flyweight.AbstractCharacter
No-arg constructor.
AbstractCompositeSequence<E> - Class in dk.rode.thesis.composite
An abstract composite sequence implements the basic traits of the CompositeSequence interface.
AbstractCompositeSequence() - Constructor for class dk.rode.thesis.composite.AbstractCompositeSequence
No-arg constructor.
AbstractCompositeSequence(CompositeStrategy, Sequence<? extends E>...) - Constructor for class dk.rode.thesis.composite.AbstractCompositeSequence
Constructor.
AbstractCompositeSequence(CompositeSequence<? extends E>) - Constructor for class dk.rode.thesis.composite.AbstractCompositeSequence
Copy constructor, which also copies associated sequences.
AbstractExpression<E> - Class in dk.rode.thesis.interpreter
An abstract expression represents the basic traits of any expression.
AbstractExpression() - Constructor for class dk.rode.thesis.interpreter.AbstractExpression
No-arg sub-class constructor.
AbstractExpressionBuilder<E> - Class in dk.rode.thesis.builder
An abstract expression builder implements the basic traits of the ExpressionBuilder interface, while ensuring that the constructed terminal expressions will all manipulate the same sequence instance.
AbstractExpressionBuilder(Sequence<? extends E>) - Constructor for class dk.rode.thesis.builder.AbstractExpressionBuilder
Constructor.
AbstractExpressionBuilder(Context, Sequence<? extends E>) - Constructor for class dk.rode.thesis.builder.AbstractExpressionBuilder
Constructor.
AbstractExpressionBuilder(AbstractExpressionBuilder<E>) - Constructor for class dk.rode.thesis.builder.AbstractExpressionBuilder
Copy constructor.
AbstractHandlerChain<R> - Class in dk.rode.thesis.chainofresponsibility
An abstract handler chain implements the basic traits of the HandlerChain interface.
AbstractHandlerChain() - Constructor for class dk.rode.thesis.chainofresponsibility.AbstractHandlerChain
No-arg constructor.
AbstractionFactory<E> - Interface in dk.rode.thesis.abstractfactory
A sequence abstraction factory can create sequence abstractions.
abstractionFactory - Variable in class dk.rode.thesis.abstractfactory.StandardFactory
The currently used abstraction factory.
AbstractLog - Class in dk.rode.thesis.meta.log
An abstract log implements the basic traits of any Log implementation.
AbstractLog(Class<?>, boolean, AtomicInteger) - Constructor for class dk.rode.thesis.meta.log.AbstractLog
Constructor.
AbstractSequence<E> - Class in dk.rode.thesis.meta.model
An abstract sequence implements the basic traits of the Sequence interface.
AbstractSequence() - Constructor for class dk.rode.thesis.meta.model.AbstractSequence
No-arg constructor, which reset this sequence and then initialise the internal state to Sequence.State.START.
AbstractSequence(boolean) - Constructor for class dk.rode.thesis.meta.model.AbstractSequence
Constructor, which reset this sequence if reset is true and then initialises the internal state to Sequence.State.START.
AbstractSequence(Sequence<? super E>) - Constructor for class dk.rode.thesis.meta.model.AbstractSequence
Copy constructor.
AbstractStateableSequence<E> - Class in dk.rode.thesis.state
An abstract stateable sequence implements the basic traits of a stateable sequence.
AbstractStateableSequence() - Constructor for class dk.rode.thesis.state.AbstractStateableSequence
No-arg constructor.
AbstractStateableSequence(FunctionalState<E>) - Constructor for class dk.rode.thesis.state.AbstractStateableSequence
Constructor.
AbstractStateableSequence(StateableSequence<E>) - Constructor for class dk.rode.thesis.state.AbstractStateableSequence
Copy constructor.
AbstractVisitableSequence<E> - Class in dk.rode.thesis.visitor
Any sequence decorated by an abstract visitable sequence implementation is value and type visitable.
AbstractVisitableSequence(Sequence<E>) - Constructor for class dk.rode.thesis.visitor.AbstractVisitableSequence
Constructor.
accept(SequenceTypeVisitor<P>, P) - Method in class dk.rode.thesis.visitor.AbstractVisitableSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.DateValuedVisitableSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.IntegerValuedVisitableSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.ReflectiveVisitableSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.StringValuedVisitableSequence
 
accept(SequenceTypeVisitor<P>, P) - Method in interface dk.rode.thesis.visitor.TypeVisitableSequence
Visits this visitable sequence using the type visitor supplied as visitor.
accept(SequenceValueVisitor<P>, P) - Method in interface dk.rode.thesis.visitor.ValueVisitableSequence
Visits this visitable sequence using the value visitor supplied as visitor.
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableCompositeSequence
 
accept(SequenceTypeVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableCompositeSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableLongSequence
 
accept(SequenceTypeVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableLongSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableRandomSequence
 
accept(SequenceValueVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableReversiblePrimeSequence
 
accept(SequenceTypeVisitor<P>, P) - Method in class dk.rode.thesis.visitor.VisitableReversiblePrimeSequence
 
ackermann - Variable in class dk.rode.thesis.facade.MathFacade
A map storing calculated Ackermann values, A(m,n), per m value.
AckermannSequence - Class in dk.rode.thesis.facade
An Ackermann sequence calculates the next value of the Ackermann function, v = A(m, n), each time AckermannSequence.next() is invoked, using a fixed value for m and thus increasing n, either indefinitely, or until a maximum value has been reached.
AckermannSequence() - Constructor for class dk.rode.thesis.facade.AckermannSequence
Constructor, which uses zero as the value of m.
AckermannSequence(int) - Constructor for class dk.rode.thesis.facade.AckermannSequence
Constructor, which uses the fixed value of m supplied as m.
AckermannSequence(int, int) - Constructor for class dk.rode.thesis.facade.AckermannSequence
Constructor, which uses the fixed value of m supplied as m.
AckermannSequence(AckermannSequence) - Constructor for class dk.rode.thesis.facade.AckermannSequence
Copy constructor.
action(Sequence.State, StateableSequence<E>) - Method in interface dk.rode.thesis.state.FunctionalState
Depending on the value of the internal state supplied as internalState, the following forms of actions are inferred: Sequence.State.START: initialisation requested.
action(Sequence.State, StateableSequence<Integer>) - Method in enum dk.rode.thesis.state.ReversiblePrimeSequence.PrimeState
 
action(Sequence.State, ReversiblePrimeSequence) - Method in enum dk.rode.thesis.state.ReversiblePrimeSequence.PrimeState
Handles the internal state request supplied as internalState for the reversible prime sequence supplied as sequence.
active - Variable in class dk.rode.thesis.meta.log.AbstractLog
True if active, i.e. logs messages, false if inactive.
adapt(S) - Method in interface dk.rode.thesis.adapter.AdapterDelegate
Changes the representation of value from type E to T.
AdaptedPolicy - Enum in dk.rode.thesis.adapter
Additional policies for formatting SequenceAdapter objects into char sequences (not part of the core Adapter implementation).
AdaptedPolicy() - Constructor for enum dk.rode.thesis.adapter.AdaptedPolicy
 
AdapterDelegate<S,T> - Interface in dk.rode.thesis.adapter
An adapter delegate determines how a value of type S can be represented as type T.
adapterDelegate - Variable in class dk.rode.thesis.adapter.SequenceAdapter
The adapter delegate to transform sequence values of type E into type T.
AdapterStrategy - Class in dk.rode.thesis.adapter
Simple adapter strategies used in conjunction with SequenceAdapter instances.
AdapterStrategy() - Constructor for class dk.rode.thesis.adapter.AdapterStrategy
No-arg sub-class constructor.
add(Expression<? extends E>) - Method in class dk.rode.thesis.builder.TypedFlowExpression
 
add(Expression<? extends E>) - Method in class dk.rode.thesis.interpreter.FlowExpression
Adds the expression supplied as expression to this flow expression.
add(List<E>, E...) - Static method in class dk.rode.thesis.meta.util.Util
Adds each element in elements, in order, to the list supplied as list.
add(Set<E>, E...) - Static method in class dk.rode.thesis.meta.util.Util
Adds each element in elements, in order, to the set supplied as set.
add(String, String) - Method in class dk.rode.thesis.observer.BirthdayRegistry
Associates the person having the name and birthday supplied as name and birthday, respectively, with this registry.
add(Date, String) - Method in class dk.rode.thesis.observer.BirthdayRegistry
Associates the person having the name and birthday supplied as name and birthday, respectively, with this registry.
addCommand(Command<E>) - Method in class dk.rode.thesis.command.CompositeCommand
Associates the command supplied as command to this composite command, if not already.
addObserver(Object) - Method in class dk.rode.thesis.observer.AnnotatedObserversSequence
 
addObserver(O, A) - Method in interface dk.rode.thesis.observer.AspectObservable
Adds the observer supplied as observer to this observable for the aspect supplied as aspect, if not already.
addObserver(O) - Method in interface dk.rode.thesis.observer.Observable
Adds the observer supplied as observer to this observable, if not already.
addObserver(Object) - Method in class dk.rode.thesis.observer.ObserverManager
Adds the observer supplied as observer to this manager, associated with the methods annotated in the class of object with a context type the owner type of this manager is assignable to, if any.
addObserver(Class<? extends T>, T) - Method in class dk.rode.thesis.observer.ObserverManager
Adds the observer supplied as observer to this manager, associated with the methods annotated in the class supplied as clazz with a context type the owner type of this manager is assignable to, if any.
addObserver(SequenceObserver<A>) - Method in class dk.rode.thesis.observer.SequenceObserversSequence
 
addObserver(SequenceObserver<A>, A) - Method in class dk.rode.thesis.observer.SequenceObserversSequence
 
addReference() - Method in interface dk.rode.thesis.meta.reflect.proxy.Reference
Increases the reference count for the referenced object.
addReference() - Method in class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
 
addSequence(Sequence<? extends E>) - Method in class dk.rode.thesis.composite.AbstractCompositeSequence
 
addSequence(Sequence<? extends E>) - Method in interface dk.rode.thesis.composite.CompositeSequence
Associates the sequence supplied as sequence to this composite sequence, if not already.
AllTests - Class in dk.rode.thesis.meta.test
Executes all individual pattern tests.
AllTests() - Constructor for class dk.rode.thesis.meta.test.AllTests
 
alphabet - Static variable in class dk.rode.thesis.meta.model.EnglishAlphabetSequence
The letters in the English alphabet.
alphabet - Static variable in class dk.rode.thesis.singleton.NorwegianAlphabetSequence
The letters in the Norwegian alphabet.
AndExpression - Class in dk.rode.thesis.interpreter
A logical and expression for two expressions evaluating to a Boolean value.
AndExpression(Expression<Boolean>, Expression<Boolean>) - Constructor for class dk.rode.thesis.interpreter.AndExpression
Constructor.
AndExpression(boolean, Expression<Boolean>, Expression<Boolean>) - Constructor for class dk.rode.thesis.interpreter.AndExpression
Constructor.
AndExpression(AndExpression) - Constructor for class dk.rode.thesis.interpreter.AndExpression
Copy constructor.
AnnotatedObserversSequence<E> - Class in dk.rode.thesis.observer
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.
AnnotatedObserversSequence() - Constructor for class dk.rode.thesis.observer.AnnotatedObserversSequence
No-arg sub-class constructor.
AnnotatedObserversSequence(Class<?>) - Constructor for class dk.rode.thesis.observer.AnnotatedObserversSequence
Sub-class constructor.
AnnotatedObserversSequence(AnnotatedObserversSequence<E>) - Constructor for class dk.rode.thesis.observer.AnnotatedObserversSequence
Copy constructor.
AnnotatedObserversSequenceDecorator<E> - Class in dk.rode.thesis.observer
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.
AnnotatedObserversSequenceDecorator(Sequence<E>) - Constructor for class dk.rode.thesis.observer.AnnotatedObserversSequenceDecorator
Constructor.
AnnotatedObserversSequenceDecorator(AnnotatedObserversSequenceDecorator<E>) - Constructor for class dk.rode.thesis.observer.AnnotatedObserversSequenceDecorator
Copy constructor.
ANY_TO_OBJECT - Static variable in class dk.rode.thesis.adapter.AdapterStrategy
A strategy to shift from an any type into Object.
ANY_TO_STRING - Static variable in class dk.rode.thesis.adapter.AdapterStrategy
A strategy to shift from an Object or wild-card representation to a String representation by invoking toString() on the object.
AppendableLog - Class in dk.rode.thesis.meta.log
An appendable log uses an Appendable object as the target for log messages, for example a PrintStream such as System.out.
AppendableLog(Appendable, Class<?>) - Constructor for class dk.rode.thesis.meta.log.AppendableLog
Constructor, which creates this log as active.
AppendableLog(Appendable, boolean, Class<?>, boolean, AtomicInteger) - Constructor for class dk.rode.thesis.meta.log.AppendableLog
Constructor, which creates this log as active if active is true.
AppenderDecorator - Class in dk.rode.thesis.decorator
An appender decorator returns the String value from a decorated sequence prefixed and/or postfixed with values supplied at construction time, respectively.
AppenderDecorator(Sequence<String>, CharSequence, CharSequence) - Constructor for class dk.rode.thesis.decorator.AppenderDecorator
Constructor.
approve(Sequence<?>) - Method in class dk.rode.thesis.visitor.TypeVisitor
Approves the visited sequence supplied as sequence.
approved - Variable in class dk.rode.thesis.visitor.TypeVisitor
The set containing the approved sequences, in order.
approved() - Method in class dk.rode.thesis.visitor.TypeVisitor
Returns the number of sequences approved by this visitor.
Arguments - Class in dk.rode.thesis.meta.util
An arguments object represents a collection of String arguments that may or may not have an associated String value.
Arguments(String...) - Constructor for class dk.rode.thesis.meta.util.Arguments
Constructor.
Arguments(Arguments) - Constructor for class dk.rode.thesis.meta.util.Arguments
Copy constructor.
arguments - Variable in class dk.rode.thesis.meta.util.Arguments
Actual arguments stored according to insertion order.
Arguments.Argument - Class in dk.rode.thesis.meta.util
An argument represents a single argument, with or without an associated value.
Arguments.Argument(String, String) - Constructor for class dk.rode.thesis.meta.util.Arguments.Argument
Constructor.
ArraySequence<E> - Class in dk.rode.thesis.meta.model
A simple abstract array sequence to deliver all the entries in a given array, in order.
ArraySequence(E...) - Constructor for class dk.rode.thesis.meta.model.ArraySequence
Constructor, which creates this sequence to use the array supplied as array.
ArraySequence(ArraySequence<E>) - Constructor for class dk.rode.thesis.meta.model.ArraySequence
Copy constructor.
asClass() - Method in class dk.rode.thesis.meta.reflect.TypeLiteral
Returns a view of the type represented by this type literal as a class literal if and only if the type has a raw type.
asClass(Class<?>) - Method in class dk.rode.thesis.meta.reflect.TypeLiteral
Returns a view of the class represented by clazz as the type represented by this type literal, if possible.
AspectObservable<O,A> - Interface in dk.rode.thesis.observer
An aspect observable object is an object that has a collection of associated observers to be notified in case the object changes its internal state, or aspect, and where the observers can subscribe certain aspects only.
AspectObservableSequence<O,A,E> - Interface in dk.rode.thesis.observer
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.
asPrimitive(Object, Class<T>) - Method in enum dk.rode.thesis.meta.util.Primitive
Returns the value supplied as value wrapped in the non-primitive type corresponding to the (primitive) type supplied as type.
asPrimitive(Object, Primitive) - Method in enum dk.rode.thesis.meta.util.Primitive
Returns the value supplied as value wrapped in the non-primitive type stored in in primitive.
assign(VariableExpression<E>, E) - Method in class dk.rode.thesis.interpreter.Context
Assigns the value supplied as value to the variable expression supplied as expression.
AssignmentExpression<E> - Class in dk.rode.thesis.interpreter
An assignment expression assigns the result of the evaluation of an expression to a variable.
AssignmentExpression(VariableExpression<E>, Expression<? extends E>) - Constructor for class dk.rode.thesis.interpreter.AssignmentExpression
Constructor.
AssignmentExpression(AssignmentExpression<E>) - Constructor for class dk.rode.thesis.interpreter.AssignmentExpression
Copy constructor.
asString(Object) - Method in enum dk.rode.thesis.strategy.ObjectPolicy
Handy shortcut that returns a textual representation of the object supplied as object as a string.
asSymbol(Context) - Method in class dk.rode.thesis.builder.TypedFlowExpression
 
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.AndExpression
Returns (x && y) if short-circuit, or (x & y), where x is the symbolic representation of the first expression operand and y of the second.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.AssignmentExpression
Returns x = y, where x is the symbolic representation of the first expression operand and y of the the second.
asSymbol(Context, String) - Method in class dk.rode.thesis.interpreter.BinaryExpression
Returns x separator y, where x is the symbolic representation of the first expression operand and y of the the second.
asSymbol(Context, String, StringBuilder) - Method in class dk.rode.thesis.interpreter.BinaryExpression
Returns x separator y, where x is the symbolic representation of the first expression operand and y of the the second.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.BreakExpression
Returns either exit or break[x], where x is the symbol representation of the target expression used, if any.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.CompareExpression
Returns x operator y, where x is the symbolic representation of the first expression operand, y of the the second, and operator is the operator used for the comparison.
asSymbol() - Method in enum dk.rode.thesis.interpreter.CompareExpression.Comparison
Return the symbol of this comparison type.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.ConditionalExpression
Returns {@code (c ?
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.ConstantExpression
Returns x, where x is the value of this constant, or if type information is included, Type{x}, where Type is the simple name of the type.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.EqualExpression
Returns x == y, where x is the symbolic representation of the first expression operand and y of the the second.
asSymbol(Context) - Method in interface dk.rode.thesis.interpreter.Expression
Returns a short symbolic representation of this expression that describes it in a concise form.
asSymbol(Context, Expression<?>, Expression<?>) - Static method in class dk.rode.thesis.interpreter.Expression.SymbolIdiom
See Expression.asSymbol(Context).
asSymbol(Context, Expression<?>, Expression<?>, StringBuilder) - Static method in class dk.rode.thesis.interpreter.Expression.SymbolIdiom
See Expression.asSymbol(Context).
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.FlowExpression
Returns x, y, z, .., where x, y, z, .., are the symbol representations of the contained expressions.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.NextExpression
Returns next[x], where x is the symbolic representation of the expression that will determine the number of times to invoke next(), or next#123[x], where 123 is the identity hash code of the manipulated sequence.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.NotExpression
Returns {@code (!
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.OrExpression
Returns (x || y) if short-circuit, or (x | y), where x is the symbolic representation of the first expression operand and y of the second.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.ReverseExpression
Returns reverse[x], where x is the symbolic representation of the expression used to determine if the sequence should be reversed, or reverse#123[x], where 123 is the identity hash code of the manipulated sequence.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.SequenceExpression
Returns name, where name is the actual name of this expression, or name#123, where 123 is the identity hash code of the manipulated sequence.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.SetExpression
Returns set[x], where x is the symbolic representation of the expression that will determine the value, or set#123[x], where 123 is the identity hash code of the manipulated sequence.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.TypedExpressionDecorator
Returns x, where x is the symbolic representation of the decorated expression, or if type information is included, Type{x}, where Type is the simple name of the type.
asSymbol(Context) - Method in class dk.rode.thesis.interpreter.VariableExpression
Returns x, where x is the name of this variable, or if type information is included, Type{x}, where Type is the simple name of the type.
asType(TypeLiteral<S>) - Method in class dk.rode.thesis.meta.reflect.TypeLiteral
Returns a view of typeLiteral as the type represented by this type literal, T instead of S, if possible.
available() - Method in class dk.rode.thesis.templatemethod.ZipSequence.ReadOnlyInputStream
 

Gunni Rode / rode.dk
A B C D E F G H I K L M N O P R S T U V W Z
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.