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

E

element - Variable in class dk.rode.thesis.meta.reflect.Caller.MemberContext
The stack trace element element identifying the member for this member context.
element - Variable in class dk.rode.thesis.meta.reflect.IdentifiedStackTraceElement
The identified stack trace element.
elements - Variable in class dk.rode.thesis.meta.model.ArraySequence
The array used.
elements - Static variable in class dk.rode.thesis.prototype.CountdownSequence
The various elements in a count-down sequence.
EMPTY - Static variable in class dk.rode.thesis.meta.util.Const
Constant representing the empty string.
empty(CharSequence) - Static method in class dk.rode.thesis.meta.util.Strings
Returns true if cs only contains white space characters, false if not.
enclose(CharSequence, CharSequence, CharSequence) - Static method in class dk.rode.thesis.decorator.AppenderDecorator
Returns a string having one of the following formats depending on whether prefix and postfix are null, respectively: value: prefix and postfix are null.
end - Variable in class dk.rode.thesis.memento.RangeSequence
End number of this sequence.
end - Variable in class dk.rode.thesis.observer.DateSequence
The end date of this sequence, if any.
EnglishAlphabetSequence - Class in dk.rode.thesis.meta.model
An alphabet sequence for letters in the English alphabet: a though z, lower-cased.
EnglishAlphabetSequence() - Constructor for class dk.rode.thesis.meta.model.EnglishAlphabetSequence
No-arg constructor.
EnglishAlphabetSequence(EnglishAlphabetSequence) - Constructor for class dk.rode.thesis.meta.model.EnglishAlphabetSequence
Copy constructor.
ensureOpen() - Method in class dk.rode.thesis.templatemethod.SequenceTemplate
Guard method that will throw an exception if this sequence is not open, or otherwise return silently.
EOF - Static variable in class dk.rode.thesis.meta.util.Const
Value indicating end-of-file, end-of-stream, end-of-search, etc.
EqualExpression - Class in dk.rode.thesis.interpreter
An equal expression can determine if the result of evaluating two expressions is equal or not, regardless of types.
EqualExpression(Expression<?>, Expression<?>) - Constructor for class dk.rode.thesis.interpreter.EqualExpression
Constructor.
EqualExpression(EqualExpression) - Constructor for class dk.rode.thesis.interpreter.EqualExpression
Copy constructor.
equals(Object) - Method in class dk.rode.thesis.adapter.SequenceAdapter
Returns true if object is a sequence adapter adapting the same sequence as this adapter based on equals(Object), false if not.
equals(Object, Object) - Static method in class dk.rode.thesis.bridge.Main
Test for equality including support for proxies.
equals(Object) - Method in class dk.rode.thesis.bridge.SequenceValueCollection
Returns true if object is a SequenceValueCollection instance that delivers the same type of values as this collection, has the same size, has the same ordered, sorted, and duplicate properties, and contain the same equivalent values adhering to the properties just listed.
equals(Object) - Method in class dk.rode.thesis.bridge.SequenceValueRange
Returns true if object is a SequenceValueRange instance that uses the same value range as this range, false if not.
equals(Object) - Method in class dk.rode.thesis.builder.AbstractExpressionBuilder
Returns true if object is an instance of this class and uses the same sequence as this builder, false if not.
equals(Object) - Method in class dk.rode.thesis.builder.TypedFlowExpression
Returns true if object is a type flow expression using the same type and the same expression, false if not.
equals(Object) - Method in class dk.rode.thesis.command.EvilCommand
Returns true if object is an evil command set to fail in the same way as this command, otherwise fails.
equals(Object) - Method in class dk.rode.thesis.command.LogCommand
Returns true if object is an instance of a this class and has the same receiver (compared using equals(Object).
equals(Object) - Method in class dk.rode.thesis.command.NullCommand
Returns true if object is an instance of a NullCommand.
equals(Object) - Method in class dk.rode.thesis.command.SequenceCommand
Returns true if object has the same class as this sequence command and uses the same sequence receiver, false if not.
equals(Object) - Method in class dk.rode.thesis.decorator.SequenceDecorator
 
equals(Object) - Method in class dk.rode.thesis.facade.AckermannSequence
Returns true if object is an instance of this sequence type using the same m as this sequence and currently at the same n, false if not.
equals(Object) - Method in class dk.rode.thesis.factorymethod.CommandCreator
Returns true if class of object is equal to this class, false if not.
equals(Object) - Method in class dk.rode.thesis.flyweight.AbstractCharacter
Returns true if and only if object is a character having the same type and value as this character, false otherwise.
equals(Object) - Method in class dk.rode.thesis.flyweight.Sentence
 
equals(Object) - Method in class dk.rode.thesis.flyweight.Word
 
equals(Object) - Method in class dk.rode.thesis.interpreter.AbstractExpression
Returns true if object is an instance of this expression type having the same name and all operands are equal using equals(Object), respectively, false otherwise.
equals(Object) - Method in class dk.rode.thesis.interpreter.SequenceExpression
Returns true if object is a sequence expression of the same type as this expression manipulating the same sequence using the same operands, false if not.
equals(Object) - Method in class dk.rode.thesis.interpreter.TypedExpressionDecorator
Returns true if object is a typed expression decorator decorating the same expressions as this decorator, tested using equals(Object), false if not.
equals(Object) - Method in class dk.rode.thesis.interpreter.VariableExpression
Returns true if object is an instance of this expression type and have the same name and type, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.model.ArraySequence
Returns true if object is an array sequence having the same type as this array sequence, using an equivalent array, and is at the same sequence index, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.Caller.MemberContext
Returns true if object is an instance of this class identifying a member based on an equal stack trace element, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.CallerClass
Returns true if object is an instance of this class representing the same caller and context class in the same call-stack, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.IdentifiedStackTraceElement
Returns true if object has the same type as this element, same offset, same element, and same stack trace, otherwise false.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.InstantiableTypeLiteral
Returns true of object is an instantiable type literal representing the same type and constructor as this instantiable type literal, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.proxy.ProxyFactory
Returns true if object is the same factory instance as this factory, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.proxy.ProxyFactory.Key
True if object is a key representing the same exact proxy instance as the proxy represented by this key.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.TypeLiteral
Returns true of object is a type literal representing the same type as this type literal, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.reflect.WeakReferenceEntry
Returns true if object represents the same object as this entry, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.util.Arguments.Argument
Returns true if object is an argument with the same name as this argument, regardless of value.
equals(Object) - Method in class dk.rode.thesis.meta.util.Arguments
Returns true if object is an Arguments instance storing the same arguments as these arguments, false if not.
equals(Object) - Method in class dk.rode.thesis.meta.util.KeyValue
Returns true if o is a (key,value) placeholder having a key that is equivalent to the key of this (key,value) placeholder, regardless of the associated values, false if not.
equals(Object, Object) - Static method in class dk.rode.thesis.meta.util.Util
Returns true if a equals b, including true if both a and b are null.
equals(Object, Object...) - Static method in class dk.rode.thesis.meta.util.Util
Returns true first equals all other objects in rest, false if not.
equals(Object) - Method in class dk.rode.thesis.observer.AnnotatedObserversSequenceDecorator
 
equals(Object) - Method in class dk.rode.thesis.observer.BirthdayRegistry.RegistryObserver
Returns true if object is a registry observer wrapping the same registry as this observer, false if not.
equals(Object) - Method in class dk.rode.thesis.observer.SequenceObserversSequenceDecorator
 
equals(Object) - Method in class dk.rode.thesis.singleton.SimpsonsFamilySequence
 
ERROR - Static variable in class dk.rode.thesis.command.EvilCommand
This command exception instance always thrown during the execution add perhaps during undo as well.
error(Object...) - Method in class dk.rode.thesis.meta.log.AbstractLog
 
error(Object...) - Method in interface dk.rode.thesis.meta.log.Log
Logs each part of an error message supplied in messages with this log as is, no trailing new line or white space inserted between message parts, but with a single new line character after the last part as well as a prefix indicating the message represent an error message.
ErrorHandler - Interface in dk.rode.thesis.meta.util
An error handler can decide whether or not a given type of error is manageable or not using the ErrorHandler.handle(Throwable) method.
errorHandler - Variable in class dk.rode.thesis.observer.ObserverManager
An error handler used to handle errors thrown during notification to a given observer, which will decide if a given type of error will cause the overall notification to fail.
evaluate(Context) - Method in class dk.rode.thesis.builder.TypedFlowExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.AndExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.AssignmentExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.BreakExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.CompareExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.ConditionalExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.ConstantExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.CurrentExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.EqualExpression
 
evaluate(Context) - Method in interface dk.rode.thesis.interpreter.Expression
Evaluates this expression and returns the result.
evaluate(Context) - Method in class dk.rode.thesis.interpreter.FlowExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.NextExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.NotExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.OrExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.ResetExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.ReverseExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.SetExpression
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.TypedExpressionDecorator
 
evaluate(Context) - Method in class dk.rode.thesis.interpreter.VariableExpression
 
EvenSequence - Class in dk.rode.thesis.state
The even sequence represents the state generating even step sequence values.
EvenSequence(int, int) - Constructor for class dk.rode.thesis.state.EvenSequence
Constructor.
EvenSequence(StepSequenceImpl) - Constructor for class dk.rode.thesis.state.EvenSequence
Copy constructor.
EvilCommand<E> - Class in dk.rode.thesis.command
An evil command is a test command that will always fail during execution and perhaps on undo as well by specifying that it is undoable while in reality it is not.
EvilCommand() - Constructor for class dk.rode.thesis.command.EvilCommand
Constructor.
EvilCommand(boolean) - Constructor for class dk.rode.thesis.command.EvilCommand
Constructor.
EvilCommand.EvilCommandException - Exception in dk.rode.thesis.command
The exception type thrown during execution and perhaps on undo of the an evil command.
EvilCommand.EvilCommandException() - Constructor for exception dk.rode.thesis.command.EvilCommand.EvilCommandException
Private constructor.
evilCreation() - Method in class dk.rode.thesis.singleton.MutatedSimpsonsFamilySequence
Tries to create a SimpsonsFamilySequence instance based on an off-limit constructor.
EvilSequenceCommandCreator<E> - Class in dk.rode.thesis.factorymethod
An evil sequence command creator is a test creator that flips the functionality offered by the sequence command creator, and may decide to return a new evil command as a default command.
EvilSequenceCommandCreator() - Constructor for class dk.rode.thesis.factorymethod.EvilSequenceCommandCreator
No-arg constructor.
execute() - Method in interface dk.rode.thesis.command.Command
Performs the execution of this command.
execute(Command<E>...) - Method in class dk.rode.thesis.command.CommandProcessor
Executes the commands supplied as commands, in order, or tries to undo executed commands in case of execution failure.
execute(List<Command<E>>) - Method in class dk.rode.thesis.command.CommandProcessor
Executes the commands supplied as commands, in order, or tries to undo executed commands in case of execution failure.
execute(List<Command<E>>, List<Command<E>>) - Method in class dk.rode.thesis.command.CommandProcessor
Executes the commands supplied as commands, in order, or tries to undo executed commands in case of execution failure.
execute() - Method in class dk.rode.thesis.command.CompositeCommand
 
execute() - Method in class dk.rode.thesis.command.EvilCommand
Always throws EvilCommand.ERROR.
execute() - Method in class dk.rode.thesis.command.LogCommand
Logs the string representation of the receiver object followed by ".execute()".
execute() - Method in class dk.rode.thesis.command.NullCommand
Does nothing.
execute() - Method in class dk.rode.thesis.command.SequenceCommand
Saves the before state of this sequence command if the receiver sequence is a memorizable sequence before execution.
executed - Variable in class dk.rode.thesis.command.CommandProcessingResult
True if the commands that generated this result were successfully executed, and hence the value of CommandProcessingResult.result is known to be valid.
Executor - Annotation Type in dk.rode.thesis.meta.reflect
A method or constructor annotated with the executor annotation indicates that it will be executed reflectively by a given context.
ExecutorProcessor - Class in dk.rode.thesis.meta.reflect
The executor processor provides methods to retrieve methods and/or constructors annotated with the Executor annotation.
ExecutorProcessor() - Constructor for class dk.rode.thesis.meta.reflect.ExecutorProcessor
Private off-limit constructor.
exist(VariableExpression<?>) - Method in class dk.rode.thesis.interpreter.Context
Returns true if the variable expression supplied as expression has been registered or has an associated value in this context, false if not.
exist(String) - Method in class dk.rode.thesis.interpreter.Context
Returns true if a variable expression having the name supplied as name has been registered or has an associated value in this context, false if not.
expression - Variable in class dk.rode.thesis.builder.TypedFlowExpression
The decorated flow expression.
expression - Variable in class dk.rode.thesis.interpreter.AssignmentExpression
The second operand.
expression - Variable in exception dk.rode.thesis.interpreter.BreakExpression.BreakException
The target expression to be evaluated next.
expression - Variable in class dk.rode.thesis.interpreter.BreakExpression
The target expression to transfer control to, if any.
Expression<E> - Interface in dk.rode.thesis.interpreter
An expression represents grammar rules in form or non terminal expressions and actual functionality in form of terminal expressions that will be enforced when the expression is evaluated.
expression - Variable in class dk.rode.thesis.interpreter.NotExpression
The expression to evaluated and the result negated.
expression - Variable in class dk.rode.thesis.interpreter.TypedExpressionDecorator
The decorated expression.
Expression.SymbolIdiom - Class in dk.rode.thesis.interpreter
The symbol idiom ensures that cyclic expression references will be represented correctly in symbolic representation starting from a given expression.
Expression.SymbolIdiom() - Constructor for class dk.rode.thesis.interpreter.Expression.SymbolIdiom
Private off-limit constructor.
ExpressionBuilder<E> - Interface in dk.rode.thesis.builder
An expression builder construct various Expression types having no bounds on the values produced by the constructed expressions.
ExpressionException - Exception in dk.rode.thesis.interpreter
An expression exception is thrown in case of context, evaluation, or expression errors.
ExpressionException() - Constructor for exception dk.rode.thesis.interpreter.ExpressionException
No-arg constructor.
ExpressionException(Expression<?>) - Constructor for exception dk.rode.thesis.interpreter.ExpressionException
Constructor.
ExpressionException(String) - Constructor for exception dk.rode.thesis.interpreter.ExpressionException
Constructor.
ExpressionException(Throwable) - Constructor for exception dk.rode.thesis.interpreter.ExpressionException
Constructor.
expressions - Variable in class dk.rode.thesis.interpreter.FlowExpression
The expressions to evaluate, in order.
externalProbe(Sequence<?>, Sequence.State) - Static method in class dk.rode.thesis.observer.ProbeSequenceObserver
Probe method that will only be invoked by an observable ReversiblePrimeSequence instance (decorated by the AnnotatedObserversSequenceDecorator type).

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.