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

R

random - Variable in class dk.rode.thesis.facade.MathFacade
An unbounded random sequence that uses a Fibonacci sequence as the seed.
random - Variable in class dk.rode.thesis.facade.RandomSequence
The random generator used.
RandomSequence - Class in dk.rode.thesis.facade
A random sequence returns a pseudo integer random number with each call to RandomSequence.next() between [0, maximum], where maximum is supplied at construction time.
RandomSequence(int) - Constructor for class dk.rode.thesis.facade.RandomSequence
Constructor.
RandomSequence(RandomSequence) - Constructor for class dk.rode.thesis.facade.RandomSequence
Copy constructor.
RangeSequence - Class in dk.rode.thesis.memento
A range sequence represents a positive Integer value that is increased with each call to RangeSequence.next(), which can be reversed to deliver previous values as well unless unbounded.
RangeSequence() - Constructor for class dk.rode.thesis.memento.RangeSequence
No-arg constructor.
RangeSequence(int) - Constructor for class dk.rode.thesis.memento.RangeSequence
Constructor.
RangeSequence(int, int) - Constructor for class dk.rode.thesis.memento.RangeSequence
Constructor.
RangeSequence(RangeSequence) - Constructor for class dk.rode.thesis.memento.RangeSequence
Copy constructor.
RangeValueFactory - Class in dk.rode.thesis.abstractfactory
A range value factory creates value range generators.
RangeValueFactory(int) - Constructor for class dk.rode.thesis.abstractfactory.RangeValueFactory
Constructor, which creates this factory to use the minimum value of minimum for all created generators.
RangeValueFactory(int, int) - Constructor for class dk.rode.thesis.abstractfactory.RangeValueFactory
Constructor, which creates this factory to use the minimum value of minimum for all created generators.
read() - Method in class dk.rode.thesis.templatemethod.ZipSequence.ReadOnlyInputStream
 
read(byte[], int, int) - Method in class dk.rode.thesis.templatemethod.ZipSequence.ReadOnlyInputStream
 
read(byte[]) - Method in class dk.rode.thesis.templatemethod.ZipSequence.ReadOnlyInputStream
 
readBytes(InputStream) - Static method in class dk.rode.thesis.meta.util.Util
Reads the contents of the input stream supplied as in and returns the contents as a byte array.
readObject(ObjectInputStream) - Method in class dk.rode.thesis.memento.RangeSequence
Deserializes this memorizable sequence.
receiver - Variable in class dk.rode.thesis.command.LogCommand
The receiver object.
Reference<T> - Interface in dk.rode.thesis.meta.reflect.proxy
A reference is used to handle the number of references to a given shared object: as long as only non-mutable methods are invoked on the referenced object, the object can be shared among several proxies.
reference - Variable in class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
The actual referenced object.
reference - Variable in class dk.rode.thesis.meta.reflect.proxy.ReferenceInvocationHandler
The reference currently used by this handler.
reference - Variable in class dk.rode.thesis.meta.reflect.WeakReferenceEntry
The weak reference storing the object.
referenceCount - Variable in class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
The number of references to ReferenceHandler.reference.
ReferenceHandler<T> - Class in dk.rode.thesis.meta.reflect.proxy
A reference handler is the standard implementation of the Reference interface.
ReferenceHandler(ProxyFactory, T, String, String...) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
Constructor, which creates this reference to manage the referenced object supplied as reference.
ReferenceHandler(ProxyFactory, T, String, Class<?>[], String...) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
Constructor, which creates this reference to manage the referenced object supplied as reference.
ReferenceHandler(ReferenceHandler<T>) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ReferenceHandler
Constructor, which creates this reference to manage a copy of the referenced object managed by handler.
ReferenceInvocationHandler - Class in dk.rode.thesis.meta.reflect.proxy
A reference invocation handler is an invocation handler that has support for referenced objects.
ReferenceInvocationHandler(Reference<?>) - Constructor for class dk.rode.thesis.meta.reflect.proxy.ReferenceInvocationHandler
Constructor, which creates this handler.
Reflection - Class in dk.rode.thesis.meta.reflect
Various reflection functionality.
Reflection() - Constructor for class dk.rode.thesis.meta.reflect.Reflection
Private off-limit constructor.
ReflectiveCommandCreator<E> - Class in dk.rode.thesis.factorymethod
A reflective command creator creates new commands based on type literals as tokens.
ReflectiveCommandCreator() - Constructor for class dk.rode.thesis.factorymethod.ReflectiveCommandCreator
No-arg constructor.
ReflectiveVisitableSequence<E> - Class in dk.rode.thesis.visitor
A reflective visitable sequence decorates a sequence to become value and type visitable.
ReflectiveVisitableSequence(Sequence<E>) - Constructor for class dk.rode.thesis.visitor.ReflectiveVisitableSequence
Constructor.
register(HandlerChain<Character>) - Method in class dk.rode.thesis.chainofresponsibility.CharacterHandler
Registers this character handler to the handler chain supplied as chain.
register(Handler<R>) - Method in interface dk.rode.thesis.chainofresponsibility.HandlerChain
Registers the handler supplied as handler to this handler chain.
register(Handler<R>) - Method in class dk.rode.thesis.chainofresponsibility.StandardHandlerChain
 
register(Handler<R>) - Method in class dk.rode.thesis.chainofresponsibility.WeakHandlerChain
 
register(VariableExpression<?>) - Method in class dk.rode.thesis.interpreter.Context
Registers the variable expression supplied as expression in this context with no associated value.
register(Object, Object) - Method in class dk.rode.thesis.meta.reflect.proxy.ProxyFactory
Registers the proxied object supplied as object for the proxy supplied as proxy.
register(AspectObservableSequence<SequenceObserver<A>, A, Date>, A...) - Method in class dk.rode.thesis.observer.BirthdayRegistry
Registers this registry as an observer for the observable sequence supplied as sequence, if not already.
register(ObservableSequence<SequenceObserver<A>, A, Date>) - Method in class dk.rode.thesis.observer.BirthdayRegistry
Registers this registry as an observer for the observable sequence supplied as sequence, if not already.
registerPrototype(Class<T>, T) - Method in class dk.rode.thesis.abstractfactory.PrototypicalRegistry
Registers the prototypical object supplied as prototype to this factory associated with the type supplied as type.
registry() - Method in class dk.rode.thesis.observer.BirthdayRegistry.RegistryObserver
Returns the enclosing birthday registry for this observer.
registry - Variable in class dk.rode.thesis.singleton.StatefullSingletonRegistry
The actual registry used to acquire the singleton types supplied at construction time.
remove() - Method in class dk.rode.thesis.adapter.IteratorSequence
 
remove() - Method in class dk.rode.thesis.iterator.SequenceIterator
 
remove() - Method in class dk.rode.thesis.meta.reflect.CallerClass.CallerIterator
Always throws an UnsupportedOperationException.
remove(Method, Object) - Method in class dk.rode.thesis.observer.ObserverManager
Removes the specific notification method supplied as method from the observer supplied as observer.
removeCommand(Command<?>) - Method in class dk.rode.thesis.command.CompositeCommand
Removes the command supplied as command from this composite command, if associated.
removeObserver(Object) - Method in class dk.rode.thesis.observer.AnnotatedObserversSequence
 
removeObserver(Object, A) - Method in interface dk.rode.thesis.observer.AspectObservable
Removes the observer supplied as observer from this observable with regards to the aspect supplied as aspect, if already added to it.
removeObserver(Object) - Method in interface dk.rode.thesis.observer.Observable
Removes the observer supplied as observer from this observable, if already added.
removeObserver(Object) - Method in class dk.rode.thesis.observer.ObserverManager
Removes the observer supplied as observer from this manager.
removeObserver(Class<? extends T>, T) - Method in class dk.rode.thesis.observer.ObserverManager
Removes the observer supplied as observer from this manager.
removeObserver(Object) - Method in class dk.rode.thesis.observer.SequenceObserversSequence
 
removeObserver(Object, A) - Method in class dk.rode.thesis.observer.SequenceObserversSequence
 
removeSequence(Sequence<?>) - Method in class dk.rode.thesis.composite.AbstractCompositeSequence
 
removeSequence(Sequence<?>) - Method in interface dk.rode.thesis.composite.CompositeSequence
Removes the sequence supplied as sequence from this composite sequence, if associated.
reset() - Method in class dk.rode.thesis.adapter.SequenceAdapter
 
reset() - Method in class dk.rode.thesis.bridge.SequenceAbstraction
 
reset() - Method in class dk.rode.thesis.bridge.SynchronisedSequenceAbstraction
 
reset() - Method in class dk.rode.thesis.composite.AbstractCompositeSequence
 
reset() - Method in class dk.rode.thesis.decorator.SequenceDecorator
 
reset() - Method in class dk.rode.thesis.facade.AckermannSequence
 
reset() - Method in class dk.rode.thesis.facade.FibonacciSequence
 
reset() - Method in class dk.rode.thesis.facade.RandomSequence
 
reset() - Method in class dk.rode.thesis.facade.UnboundedRandomSequence
 
reset() - Method in class dk.rode.thesis.interpreter.Context
Resets the internal set of touched expressions.
reset() - Method in class dk.rode.thesis.memento.RangeSequence
 
reset() - Method in class dk.rode.thesis.meta.model.AbstractSequence
 
reset() - Method in class dk.rode.thesis.meta.model.ArraySequence
 
reset() - Method in class dk.rode.thesis.meta.model.LongSequence
 
reset() - Method in class dk.rode.thesis.meta.model.PrimeSequence
 
reset() - Method in interface dk.rode.thesis.meta.model.Sequence
Resets this sequence to start over if it is consistent.
reset() - Method in class dk.rode.thesis.observer.AnnotatedObserversSequenceDecorator
 
reset() - Method in class dk.rode.thesis.observer.DateSequence
 
reset() - Method in class dk.rode.thesis.observer.SequenceObserversSequenceDecorator
 
reset() - Method in class dk.rode.thesis.proxy.NonResettableSequence
Does not reset the proxied sequence.
reset - Variable in class dk.rode.thesis.proxy.SequenceProxyFactory
The reset() method defined in the Sequence interface.
reset() - Method in class dk.rode.thesis.proxy.SynchronisedSequence
 
reset() - Method in enum dk.rode.thesis.singleton.DanishAlphabetSequence
 
reset() - Method in class dk.rode.thesis.state.AbstractStateableSequence
 
reset() - Method in class dk.rode.thesis.state.StepSequenceImpl
 
reset() - Method in class dk.rode.thesis.templatemethod.SequenceTemplate
 
reset() - Method in class dk.rode.thesis.templatemethod.ZipSequence.ReadOnlyInputStream
All calls are ignored.
reset() - Method in class dk.rode.thesis.visitor.CountingVisitor
Resets this visitor before re-scanning.
ResetCommand<E> - Class in dk.rode.thesis.command
A reset command command will invoke reset() on its receiving sequence when it is executed.
ResetCommand(Sequence<E>) - Constructor for class dk.rode.thesis.command.ResetCommand
Constructor.
ResetExpression<E> - Class in dk.rode.thesis.interpreter
A reset expression will invoke reset() on a given sequence when evaluated.
ResetExpression(Sequence<? extends E>) - Constructor for class dk.rode.thesis.interpreter.ResetExpression
Constructor.
ResetExpression(Sequence<? extends E>, boolean) - Constructor for class dk.rode.thesis.interpreter.ResetExpression
Constructor.
ResetExpression(ResetExpression<E>) - Constructor for class dk.rode.thesis.interpreter.ResetExpression
Copy constructor.
resolved - Variable in class dk.rode.thesis.meta.reflect.Caller.MemberContext
True if Caller.MemberContext.member has been uniquely resolved for this member context, false if not.
result - Variable in class dk.rode.thesis.command.CommandProcessingResult
The result of the command execution.
result - Variable in class dk.rode.thesis.command.SequenceCommand
The result of the execution.
reverse - Variable in class dk.rode.thesis.interpreter.ReverseExpression
If this expression evaluates to true, the sequence will be tried reversed, not if it evaluates to false.
reverse() - Method in class dk.rode.thesis.memento.RangeSequence
 
reverse() - Method in interface dk.rode.thesis.meta.model.ReversibleSequence
Reverses this reversible sequence, if currently reversible.
reverse() - Method in class dk.rode.thesis.state.ReversiblePrimeSequence
 
ReverseCommand<E> - Class in dk.rode.thesis.command
A reserve command command will reverse a given sequence when it is executed, if possible.
ReverseCommand(Sequence<E>) - Constructor for class dk.rode.thesis.command.ReverseCommand
Constructor.
ReverseCommand(Sequence<E>, Command<E>...) - Constructor for class dk.rode.thesis.command.ReverseCommand
Constructor.
ReverseCommand(ReverseCommand<E>) - Constructor for class dk.rode.thesis.command.ReverseCommand
Copy constructor.
reversed - Variable in class dk.rode.thesis.command.ReverseCommand
True if this command successfully reversed a reversible sequence, false if not.
ReverseExpression<E> - Class in dk.rode.thesis.interpreter
A reverse expression will invoke reverse() on a given reversible sequence when evaluated, if so specified and only if possible.
ReverseExpression(Sequence<? extends E>) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Constructor.
ReverseExpression(Sequence<? extends E>, boolean) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Constructor.
ReverseExpression(Sequence<? extends E>, boolean, boolean) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Constructor.
ReverseExpression(Sequence<? extends E>, Expression<Boolean>) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Constructor.
ReverseExpression(Sequence<? extends E>, Expression<Boolean>, boolean) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Constructor.
ReverseExpression(ReverseExpression<E>) - Constructor for class dk.rode.thesis.interpreter.ReverseExpression
Copy constructor.
reversible() - Method in class dk.rode.thesis.memento.RangeSequence
Returns true if this range sequence is bounded, false otherwise.
reversible() - Method in interface dk.rode.thesis.meta.model.ReversibleSequence
Returns true if this reversible sequence can be reversed in its current state, false if not.
reversible() - Method in class dk.rode.thesis.state.ReversiblePrimeSequence
 
ReversiblePrimeSequence - Class in dk.rode.thesis.state
A reversible prime sequence returns with each call to next() the next prime number in the sequence of prime numbers smaller than maximum, where maximum is supplied at construction time, or a previously calculated prime number with each call to next() after ReversiblePrimeSequence.reverse() has been invoked.
ReversiblePrimeSequence(int) - Constructor for class dk.rode.thesis.state.ReversiblePrimeSequence
Constructor.
ReversiblePrimeSequence(ReversiblePrimeSequence) - Constructor for class dk.rode.thesis.state.ReversiblePrimeSequence
Copy constructor.
ReversiblePrimeSequence.PrimeState - Enum in dk.rode.thesis.state
A prime state represents a stateless functional state for all reversible prime sequences, while the actual internal state and attributes are stored in a given reversible prime sequence instance.
ReversiblePrimeSequence.PrimeState() - Constructor for enum dk.rode.thesis.state.ReversiblePrimeSequence.PrimeState
 
ReversibleSequence<E> - Interface in dk.rode.thesis.meta.model
A reversible sequence allows retrieval of previous values if and only if such previous values are ready for delivery, i.e. have already been calculated.
ReversibleSequenceCommandCreator<E> - Class in dk.rode.thesis.factorymethod
A reversible sequence command creator extends the sequence command creator to allow for the creation of reverse commands for reversible sequences.
ReversibleSequenceCommandCreator() - Constructor for class dk.rode.thesis.factorymethod.ReversibleSequenceCommandCreator
No-arg constructor.
root - Variable in class dk.rode.thesis.builder.AbstractExpressionBuilder
The root expression returned by AbstractExpressionBuilder.getRootExpression().

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.