|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
generator
used to
generate the next sequence value on an invocation of
SequenceAbstraction.next()
.
generators
used as implementations
for sequence abstractions
.number
'th value generated by this generator,
which may or may not have been generated yet.
abstraction
factory
currently used by this factory.
m
and n
,
respectively.
E
to type
T
.
name
,
regardless if it has an associated value or not.
name
,
regardless if it has an associated value or not if
mustHaveValue
is false.
prefix
, if any.
name
, if any.
name
, if any.
name
, if any, transformed to
the type supplied as type
using the static
type.valueOf(String)
method.
name
, if any, transformed to
the type supplied as type
using the static
type.valueOf(String)
method.
SequenceObserversSequence.doNext()
has been
invoked, if any.
observer
subscribes to in this observable, if any.
class
of the calling context
is assignable to the class
representing
the immediate calling context.
Class
supplied as clazz
can be assigned
to.
Class
supplied as clazz
can be assigned
to.
birthday
to
only include day and month.
name
, if registered.
type
, if any.
throwable
.
Character
instance representing
the char value supplied as character
.
Character
instance representing
the char value at index index
in character
.
Character
instance representing
the value supplied as character
.
type
, if ant.
objects
.
objects
.
types
.
types
.
element
.
clazz
.
class
of the calling context
is identical to the class
representing
the immediate calling context.
token
associated with the sequence
receiver supplied
at sequence
.
commands
currently
associated with this composite command, in order.
commands
currently
associated with this composite command, in order,
assignable to the type supplied as type
.
type
if a parameterised type or generic array type,
otherwise type
itself.
value
visitable
sequences that were composites and where the type of value was
unknown.
strategy
used by
this composite sequence to traverse the associated sequence
graph.
strategy
by this scanner to traverse sequence
structures.
parameterTypes
in the raw type
fetched from type
.
clazz
accepting the formal parameter types supplied
as parameterTypes
, ignoring primitive types.
Executor
annotation
in the class supplied as clazz
, where the formal parameter types
match parameterTypes
ignoring primitives, and where the
context
is assignable from context
.
clazz
annotated with the annotation type supplied as annotation
.
context
used by this
builder.
clazz
, if any.
date
, but
where minutes, seconds, and milliseconds
have been cleared.
date
plus
the number of days supplied as days
, but
where minutes, seconds, and milliseconds
have been cleared.
value
visitable
sequences that delivered Date
values.
GeneratorFactory.createGenerator(Object)
method.
type
, wrapped in an appropriate wrapper class,
or null if type
is neither primitive nor a primitive wrapper
class.
name
from the root
of the class path.
root
expression.
SimpsonsAndBouvierFamilySequence
singleton
instance to use.
SimpsonsFamilySequence
singleton
instance to use.
clazz
, or in
a super-class or implemented interface.
birthday
to
only include day, month, and year.
state
currently
set for this stateable sequence if this sequence allows disclosure
of such states.
generator
factory
currently used by this factory.
handler
used by this proxy.
handlers
currently associated with this chain, starting from
the handler after handler
, if supplied.
handlers
currently associated with this chain, starting from
the handler after handler
, if supplied.
sequence
implements that will disallow Sequence.reset()
,
Sequence.next()
, and Sequence.copy()
to alter
sequence
if and only if all access is though the
returned proxy.
CountdownSequence
instance to use.
className
using the class loader that loaded this
registry, and then invokes StatefullSingletonRegistry.getInstance(Class)
using
the loaded singleton type to return the singleton instance.
NorwegianAlphabetSequence
singleton
instance to use.
type
.
value
visitable
sequences that delivered Integer
values.
object
.
Class
supplied
as clazz
can be assigned to, including interfaces
implemented by super-classes of clazz
.
Class
supplied
as clazz
can be assigned to, including interfaces
implemented by super-classes of clazz
.
object
, or the
global log if object
is null.
clazz
, or the global log if clazz
is null.
class
, if any.
object
that will record
all access to object
when accessed (via the proxy) through
one of the interfaces supplied in interfaces
.
sequence
implements that will log all access to sequence
if and only if all access is though the returned proxy.
value
visitable
sequences that delivered Long
values.
element
.
name
that
is declared in the class supplied as clazz
accepting
the formal parameter types supplied as parameterTypes
,
ignoring primitive types.
Executor
annotation
in the class supplied as clazz
, where the formal parameter types
match parameterTypes
ignoring primitives, and where the
context
is assignable from context
.
clazz
annotated with the annotation type supplied as annotation
.
clazz
, or in
a super-class or implemented interface.
members
.
name
.
name
to
be trimmed, and each unique part of the name
separated by a single space is upper-cased first.
birthday
.
birthday
.
class
of the calling context
is not assignable to the class
representing
the immediate calling context.
class
of the calling context
is not identical to the class
representing
the immediate calling context.
Map
where the keys are the non-primitive
primitives having an associated primitive type, which is also
the value associated with a key.
type
, if any.
primitive
; for example
java.lang.Integer
for Primitive.Integer
.
primitives
.
primitive
and primitives
.
sequence
implements that will disallow Sequence.reset()
to be invoked
for sequence
if and only if all access is though the
returned proxy.
class
of the calling context
is a not a sub-class of the class
representing
the immediate calling context.
type
.
proxy
, or null
if no such proxy is handled by this proxy factory or if
garbage collected.
aspect
in this observable.
clazz
, or clazz
it self, declaring a non-abstract method with
the name supplied as name
and the formal parameter types supplied as types
,
providing it is accessible to clazz
, and where the value is the first super
class of that class declaring a similar method.
clazz
.
type
,
if any; for example Primitive.Integer
for either
java.lang.Integer
or int
(java.lang.Integer.TYPE
).
Map
where the keys are the primitive
primitives, and the values the associated non-primitives.
type
, if any.
primitive
; for
example int
(java.lang.Integer.TYPE
)
for Primitive.Integer
.
primitives
.
primitive
and primitives
.
object
that can be copied by invoking Copyable.copy()
on it
if and only if the class of object
supplies
a copy constructor and/or directly implements Copyable
.
object
that can be copied by invoking Copyable.copy()
on it
if and only if the class of object
supplies
a copy constructor and/or directly implements Copyable
.
object
, if any.
interfaces
, in order.
interfaces
, in order.
proxy
, or null if proxy
is not a
proxy created by a proxy factory.
factory
that created
this proxy.
n
'th number.
highBound
.
lowBound
and
highBound
.
n
'th prime number.
type
, if any.
execution
of this
command.
Sentence
containing the words parsed from
string
.
Sentence
containing the words parsed from
sentence
.
sequence
manipulated by the
terminal expressions constructed by this builder.
copy
is true, otherwise the decorated
sequence it self.
SmileySequence
singleton
instance to use.
SequencePolicy
by this log visitor to log each visited sequence.
sequences
currently
associated with this composite sequence, in order.
sequences
currently
associated with this composite sequence, in order,
assignable to the type supplied as clazz
.
sequences
currently
reachable from this composite sequence, in the
order specified by strategy
.
sequences
currently
reachable from this composite sequence, in the order
specified by strategy
.
reference
to object
that can be shared and copied by different contexts until a
given mutator method is invoked on it, forcing the original
object to be copied.
sequence
supplied as sequence
.
S
having the exact name
as the toString()
value of the policy supplied as
policy
, or null if no such constant can be found.
S
having the exact name
as the toString()
value of the policy supplied as
policy
, or defaultPolicy
if no such constant
can be found.
singleton
against the
return instance from registry
when looked up using type
.
policy
is not null: policy
is returned.
value
visitable
sequences that delivered any type of CharSequence
values.
class
of the calling context
is a sub-class of the class
representing
the immediate calling context.
clazz
,
excluding clazz
, where the last index is always
be Object.class
.
object
that can
be viewed as any of the interfaces supplied in interfaces
.
object
that can
be viewed as any of the interfaces supplied in interfaces
,
synchronised on the object supplied as lock
.
sequence
implements that will ensure synchronised access to sequence
if and only if all access is though the returned proxy.
value
visitable sequences that were visited.
typed
expression of the
typed supplied as type
based on expression
.
objects
.
objects
.
types
.
types
.
value
visitable
sequences where the type of value was unknown, excluding composites.
variable
or
constant
stored in
this context associated with the type and name
supplied as type
and name
, respectively.
variables
and
constants
stored in
this context, in no particular order.
variables
and
constants
stored in
this context, in no particular order, delivering
the type of values supplied as type
.
sequence
type T
.
Word
corresponding to
the characters supplied as word
.
Word
instance parsed from the letters in string.
SequenceMemento
, but enforce access rules to ensure
that only a (memorizable) sequence can set or get the memento
state.
|
Gunni Rode / rode.dk | ||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |