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

P

parameterTypes - Variable in class dk.rode.thesis.observer.ObserverManager
The formal parameter types declared for all methods to be used to notify registered observers.
parse(Log, CharacterFactory, String) - Static method in class dk.rode.thesis.flyweight.Main
Parses the string supplied as string into a sentence, which is printed and then returned.
parse(String...) - Static method in class dk.rode.thesis.meta.util.Arguments
Parses the arguments supplied in args, and returns a corresponding map, ordered according to the order of args.
Participant - Annotation Type in dk.rode.thesis.meta
Identifies a participant as described in [Gamma95, p.7]: a class or object participating in the design pattern.
ParticipantUsage - Annotation Type in dk.rode.thesis.meta
Identifies a participant as described in [Gamma95, p.7] that is already represented by an implemented type, typically imported into the pattern package to represent participant functionality defined externally.
Pattern - Annotation Type in dk.rode.thesis.meta
Annotation encompassing an entire pattern, declared within a given package The actual usage of pattern participants are specified by the Participant annotation.
policy - Variable in class dk.rode.thesis.decorator.SequenceDecorator
The default sequence policy used for formatting.
policy - Variable in class dk.rode.thesis.observer.PrintSequenceObserver
The policy to use to print the observable sequence.
POLICY - Static variable in class dk.rode.thesis.templatemethod.SequenceTemplate
Policy use for logging of this sequence.
policy - Variable in class dk.rode.thesis.visitor.LoggingVisitor
The policy used to format visited sequences.
postfix - Variable in class dk.rode.thesis.decorator.AppenderDecorator
Postfix to any value returned by the decorated sequence.
postfix(CharSequence, char, int) - Static method in class dk.rode.thesis.meta.util.Strings
Postfixes the string value represented by cs with c length times.
PREFIX - Static variable in class dk.rode.thesis.builder.CountingExpressionBuilder
The prefix used for all variables storing a count for a given expression type.
prefix - Variable in class dk.rode.thesis.decorator.AppenderDecorator
Prefix to any value returned by the decorated sequence.
prefix(CharSequence, char, int) - Static method in class dk.rode.thesis.meta.util.Strings
Prefixes the string value represented by cs with c length times.
previous - Variable in class dk.rode.thesis.command.ResetCommand
The sequence value before the last reset.
previous - Variable in class dk.rode.thesis.facade.FibonacciSequence
The previous Fibonacci number.
prime - Variable in class dk.rode.thesis.meta.model.PrimeSequence
The current prime number.
prime - Variable in class dk.rode.thesis.state.ReversiblePrimeSequence
The current prime number.
primes - Variable in class dk.rode.thesis.facade.MathFacade
The prime sequence to deliver the prime numbers.
PrimeSequence - Class in dk.rode.thesis.meta.model
A prime sequence returns with each call to PrimeSequence.next() the next prime number in the sequence of prime numbers smaller than maximum, where maximum is supplied at construction time.
PrimeSequence(int) - Constructor for class dk.rode.thesis.meta.model.PrimeSequence
Constructor.
PrimeSequence(PrimeSequence) - Constructor for class dk.rode.thesis.meta.model.PrimeSequence
Copy constructor.
Primitive - Enum in dk.rode.thesis.meta.util
A primitive constant associates a primitive type with its wrapper class.
Primitive(Class<?>, Class<?>) - Constructor for enum dk.rode.thesis.meta.util.Primitive
Constructor, which creates this enumeration type associated with the primitive and non-primitive classes primitive and nonPrimitive, respectively.
primitive - Variable in enum dk.rode.thesis.meta.util.Primitive
The primitive type associated with this enumeration type, e.g.
print(Log, int, String, Sequence<?>) - Static method in class dk.rode.thesis.composite.Main
Recursive helper method to print the structure of the (composite) sequence supplied as sequence.
print(Object...) - Method in class dk.rode.thesis.meta.log.AbstractLog
 
print(boolean, Object...) - Method in class dk.rode.thesis.meta.log.AbstractLog
 
print(Object...) - Method in interface dk.rode.thesis.meta.log.Log
Logs each message part supplied in messages with this log as is, no trailing new line or white space inserted between messages.
print(boolean, Object...) - Method in interface dk.rode.thesis.meta.log.Log
Logs each message part supplied in messages with this log as is, no trailing new line or white space inserted between messages, if and only if condition is true.
println(Object...) - Method in class dk.rode.thesis.meta.log.AbstractLog
 
println(boolean, Object...) - Method in class dk.rode.thesis.meta.log.AbstractLog
 
println(Object...) - Method in interface dk.rode.thesis.meta.log.Log
Logs each message part supplied in messages with this log as is, no trailing new line or white space inserted between messages, but with a single new line character after the last part.
println(boolean, Object...) - Method in interface dk.rode.thesis.meta.log.Log
Logs each message part supplied in messages with this log as is, no trailing new line or white space inserted between messages, if and only if condition is true, but always with a single new line character after the last part.
PrintSequenceObserver - Class in dk.rode.thesis.observer
A print sequence observer prints the state of any observable sequence it is observing.
PrintSequenceObserver() - Constructor for class dk.rode.thesis.observer.PrintSequenceObserver
Constructor.
PrintSequenceObserver(StringablePolicy<Sequence<?>>) - Constructor for class dk.rode.thesis.observer.PrintSequenceObserver
Constructor.
printStackTrace(Log) - Method in class dk.rode.thesis.meta.reflect.IdentifiedStackTraceElement
Prints the call-stack to out with a severity level of error.
ProbeSequenceObserver - Class in dk.rode.thesis.observer
A probe sequence observer prints the internal attributes that has changed for a given sequence since the last time the observer was notified about that sequence, based on equality using equals(Object) (and hashCode()).
ProbeSequenceObserver() - Constructor for class dk.rode.thesis.observer.ProbeSequenceObserver
No-arg constructor.
process(Object) - Method in class dk.rode.thesis.iterator.LoggingValueProcessor
 
process(ValueProcessor<? super E>) - Method in class dk.rode.thesis.iterator.ProcessableSequence
Process values in this sequence using the processor supplied as processor until all values have been exhausted, or processor returns false.
process(E) - Method in interface dk.rode.thesis.iterator.ValueProcessor
Process a given value and returns false if the processing is done, true if it must continue.
ProcessableSequence<E> - Class in dk.rode.thesis.iterator
A processable sequence represents an internal iterator that can iterate over bounded sequences using a value processor to perform the actual processing of delivered sequence values.
ProcessableSequence(Sequence<E>) - Constructor for class dk.rode.thesis.iterator.ProcessableSequence
Constructor, which creates this processable sequence to process through the sequence values from sequence.
prototype - Variable in class dk.rode.thesis.abstractfactory.PrototypicalAbstractionFactory
The prototypical sequence abstraction to use.
prototype - Variable in class dk.rode.thesis.abstractfactory.PrototypicalFactory
The prototypical object to use.
PrototypeFactory - Class in dk.rode.thesis.prototype
A prototype factory creates various dynamic proxies that allows any object to become copyable, if not already, if it supplies a copy constructor.
PrototypeFactory() - Constructor for class dk.rode.thesis.prototype.PrototypeFactory
No-arg constructor.
prototypes - Variable in class dk.rode.thesis.abstractfactory.PrototypicalRegistry
The prototypical objects to use registered by their class.
PrototypicalAbstractionFactory<E> - Class in dk.rode.thesis.abstractfactory
A prototypical abstraction factory creates sequence abstractions based on a prototype supplied at construction time.
PrototypicalAbstractionFactory(SequenceAbstraction<E>) - Constructor for class dk.rode.thesis.abstractfactory.PrototypicalAbstractionFactory
Constructor.
PrototypicalFactory<T extends StrictCopyable<T>> - Class in dk.rode.thesis.abstractfactory
A prototypical factory creates instances of a specific type of copyable type based on a prototype supplied at construction time.
PrototypicalFactory(T) - Constructor for class dk.rode.thesis.abstractfactory.PrototypicalFactory
Constructor.
PrototypicalRegistry - Class in dk.rode.thesis.abstractfactory
A prototypical registry creates instances of copyable objects based on registered prototypes.
PrototypicalRegistry() - Constructor for class dk.rode.thesis.abstractfactory.PrototypicalRegistry
No-arg constructor.
PrototypicalSequenceFactory<E> - Class in dk.rode.thesis.abstractfactory
A prototypical sequence factory creates sequences based on a prototype supplied at construction time.
PrototypicalSequenceFactory(Sequence<E>) - Constructor for class dk.rode.thesis.abstractfactory.PrototypicalSequenceFactory
Constructor.
ProxiedPolicy - Enum in dk.rode.thesis.proxy
Additional policies for formatting proxied sequences into char sequences (not part of the core Proxy implementation).
ProxiedPolicy() - Constructor for enum dk.rode.thesis.proxy.ProxiedPolicy
 
proxies - Variable in class dk.rode.thesis.meta.reflect.proxy.ProxyFactory
A map containing the proxies created by this factory.
proxy - Variable in class dk.rode.thesis.meta.reflect.proxy.ProxyFactory.Key
The actual proxy object.
ProxyFactory - Class in dk.rode.thesis.meta.reflect.proxy
A proxy factory creates dynamic proxies, which can also be used for duck typing.
ProxyFactory() - Constructor for class dk.rode.thesis.meta.reflect.proxy.ProxyFactory
No-arg constructor, which creates this proxy factory to use the class loader that loaded this factory.
ProxyFactory(ClassLoader) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ProxyFactory
Constructor, which creates this factory to use the class loader supplied as classLoader when creating new proxy objects.
ProxyFactory.Handler - Class in dk.rode.thesis.meta.reflect.proxy
A handler is used to decorate all invocation handlers used by proxies created by any proxy factory.
ProxyFactory.Handler(InvocationHandler) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ProxyFactory.Handler
Constructor.
ProxyFactory.Key - Class in dk.rode.thesis.meta.reflect.proxy
A key adapts a proxy to ensure consistent hashCode() and equals(Object) behaviour when proxies are stored internally by proxy factories, because proxies may override hashCode and equals(Object) in unpredictable ways.
ProxyFactory.Key(ProxyFactory.Proxy) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ProxyFactory.Key
Constructor.
ProxyFactory.Proxy - Interface in dk.rode.thesis.meta.reflect.proxy
All proxies created by a proxy factory will be tagged with this adapter interface, allowing for later retrieval of the actual proxy factory that created the proxy as well as the unique handler associated with it.
Purpose - Enum in dk.rode.thesis.meta
Represents the "Gang of Four" purpose classification [Gamma95, p.10].
Purpose() - Constructor for enum dk.rode.thesis.meta.Purpose
 

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.