ACCUMULATOR
- the factory productpublic interface AccumulatorReplicator<ACCUMULATOR extends AccumulatorReplicator<ACCUMULATOR>> extends PrimitiveReplicator<ACCUMULATOR>
replicator
for Accumulators
Modifier and Type | Method and Description |
---|---|
ACCUMULATOR |
copy()
Minimize implicit loops and produce a shallow copy of this
Accumulator.
|
ACCUMULATOR |
copySharing(Accumulator<?> anAccumulator)
Using this Accumulator as a factory, and where possible, produce a new
Accumulator of the same type but directly sharing the
target Primitive and its
relationship collection. |
ACCUMULATOR |
copySharing(net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
Using this Accumulator as a factory, and where possible, produce a new
Accumulator of the same type but directly share the specified
relationship collection.
|
ACCUMULATOR |
copySharing(Primitive<?> aTarget)
Using this Accumulator as a factory, and where possible, produce a new
Accumulator of the same type but directly share the specified
Primitive target. |
ACCUMULATOR |
copySharing(Primitive<?> aTarget,
net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
Using this Accumulator as a factory, and where possible, produce a new
Accumulator of the same type but directly share the specified
Primitive target and relationship collection. |
ACCUMULATOR |
copyUsingAccumulator(SealedAccumulator<?> anAccumulator)
|
ACCUMULATOR |
copyUsingPrimitive(SealedPrimitive<?> aValue)
|
Accumulator<?> |
toAccumulator()
If this object is already
Accumulator then simply
call its copy() function, otherwise convert it to a new
Accumulator instance |
copyUsingText, toPrimitive
copyUsing, copyUsing, copyUsingReal, toReal
ACCUMULATOR copy()
member
collection management system but
will share each member instance.copy
in interface Replicator<ACCUMULATOR extends AccumulatorReplicator<ACCUMULATOR>>
ACCUMULATOR copySharing(Accumulator<?> anAccumulator)
target
Primitive
and its
relationship
collection. Where direct
sharing is not possible, shallow copies will be performed instead.anAccumulator
- an Accumulator to share withtarget
Primitive
and and its relationship
collectionACCUMULATOR copySharing(net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
members
- the relationship collection to shareACCUMULATOR copySharing(Primitive<?> aTarget)
Primitive
target. Where direct sharing is not possible, shallow
copies will be performed instead.members
- the Primitive to shareACCUMULATOR copySharing(Primitive<?> aTarget, net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
Primitive
target and relationship collection. Where direct
sharing is not possible, shallow copies will be performed instead.aTarget
- the Primitive to sharemembers
- the relationship collection to shareACCUMULATOR copyUsingAccumulator(SealedAccumulator<?> anAccumulator)
ACCUMULATOR copyUsingPrimitive(SealedPrimitive<?> aValue)
members
, but initialize the Primitive
target
of the new instance with the
specified valuecopyUsingPrimitive
in interface PrimitiveReplicator<ACCUMULATOR extends AccumulatorReplicator<ACCUMULATOR>>
aValue
- a new valuemembers
, but a Primitive
target
initialized using
the specified valueAccumulator<?> toAccumulator()
Accumulator
then simply
call its copy()
function, otherwise convert it to a new
Accumulator instanceCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.