ACCUMULATOR
- this Accumulator
typepublic abstract class AbstractConstantAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>> extends AbstractStickyTarget<ACCUMULATOR>
Primitive
targets
and read-only relationship
collectionsModifier and Type | Field and Description |
---|---|
static net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> |
EMPTY_MEMBERS |
NaN, ONEI, ZERO_DOUBLE_LONG_BITS, ZERO_FLOAT_INT_BITS, ZEROI
Constructor and Description |
---|
AbstractConstantAccumulator() |
AbstractConstantAccumulator(Accumulator<?> anAccumulator) |
AbstractConstantAccumulator(BigDecimal aTarget) |
AbstractConstantAccumulator(BigInteger aTarget) |
AbstractConstantAccumulator(boolean aTarget) |
AbstractConstantAccumulator(byte aTarget) |
AbstractConstantAccumulator(char aTarget) |
AbstractConstantAccumulator(double aTarget) |
AbstractConstantAccumulator(Enum<?> aTarget) |
AbstractConstantAccumulator(float aTarget) |
AbstractConstantAccumulator(int aTarget) |
AbstractConstantAccumulator(long aTarget) |
AbstractConstantAccumulator(Primitive<?> aTarget) |
AbstractConstantAccumulator(Primitive<?> aTarget,
net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members) |
AbstractConstantAccumulator(short aTarget) |
AbstractConstantAccumulator(String aTarget) |
Modifier and Type | Method and Description |
---|---|
ACCUMULATOR |
copy()
Produce a replica of this object
|
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 |
copyUsing(BigDecimal aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(BigInteger aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(boolean aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(byte aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(char aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(double aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(float aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(int aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(long aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsing(short aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
ACCUMULATOR |
copyUsingAccumulator(SealedAccumulator<?> anAccumulator)
|
ACCUMULATOR |
copyUsingPrimitive(SealedPrimitive<?> aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
ACCUMULATOR |
copyUsingReal(SealedReal<?> aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
ACCUMULATOR |
copyUsingScalar(SealedScalar<?> aValue)
Using this scalar as a factory, produce a new scalar of the
same type but initialized with the value specified
|
ACCUMULATOR |
copyUsingText(CharSequence aValue)
Using this text as a factory, produce new text of the same type but
initialized with the value specified
|
boolean |
isConfigurable()
|
boolean |
isElastic()
Answer
true if this structure, in principle, can be
reduced via element removal or expanded via element addition. |
boolean |
isExpandable() |
boolean |
isReducible()
Answer
true if this structure, in principle, can be
reduced via element removal. |
getTarget, isTargetReplaceable, shareTarget, shareTargetWith
apply, clear, clearContents, equals, first, getDomain, getStructureStrategy, hashCode, isCountable, isEmpty, isEqualToAccumulator, isOrdered, isUnique, iterator, last, longSize, members, peek, pop, push, push, push, push, push, push, push, push, push, push, push, push, push, pushPrimitive, pushText, replaceRelationshipsUsing, setAccumulator, size, toAccumulator, toFunctionName, toString
absoluteValue, and, and, and, and, and, and, and, angleWith, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendCodePoint, arcCosine, arcSine, arcTangent, assertDomain, assertPrecision, base10Log, booleanPostDecrement, booleanPostIncrement, booleanValue, bytePostDecrement, bytePostIncrement, byteValue, charAt, charPostDecrement, charPostIncrement, charValue, clearText, codePointAt, codePointBefore, codePointCount, compareTo, compareToPrimitive, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToText, compareToZero, cosine, cube, cubeRoot, decrement, degrees, delete, deleteCharAt, difference, difference, difference, difference, difference, difference, difference, difference, difference, difference, doublePostDecrement, doublePostIncrement, doubleValue, exponential, exponentialLessOne, floatPostDecrement, floatPostIncrement, floatValue, gcd, gcd, gcd, gcd, gcd, gcd, getConcurrency, getPrecision, hyperbolicCosine, hyperbolicSine, hyperbolicTangent, increment, indexOfText, indexOfText, inducePostDecrement, inducePostDecrement, inducePostDecrement, inducePostIncrement, inducePostIncrement, inducePostIncrement, inducePrimitiveMaximum, inducePrimitiveMinimum, inducePrimitiveValue, induceRealMaximum, induceRealMinimum, induceRealSize, induceRealValue, induceScalarMaximum, induceScalarMinimum, induceScalarSize, induceScalarValue, induceTextSize, induceTextValue, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, intPostDecrement, intPostIncrement, intValue, invalidate, inverse, isAlphabetic, isBmpCodePoint, isDigit, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToPrimitive, isEqualToText, isFinite, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToPrimitive, isGreaterOrEqualToText, isGreaterThanPrimitive, isGreaterThanText, isHighSurrogate, isIdentifierIgnorable, isIdeographic, isImaginary, isInfinity, isInvalid, isISOControl, isJavaIdentifierPart, isJavaIdentifierStart, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqualToPrimitive, isLessOrEqualToText, isLessThanPrimitive, isLessThanText, isLetter, isLetterOrDigit, isLowerCase, isLowSurrogate, isMaximum, isMinimum, isMirrored, isModulo, isMutable, isNegative, isNegativeFinite, isNegativeInfinity, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqualToPrimitive, isNotEqualToText, isPositive, isPositiveFinite, isPositiveInfinity, isReal, isSupplementaryCodePoint, isSurrogate, isText, isTitleCase, isUnicode, isUnicodeIdentifierPart, isUnicodeIdentifierStart, isUnity, isUpperCase, isValidCodePoint, isWhitespace, isZero, length, longPostDecrement, longPostIncrement, longValue, lowerCase, milliseconds, mod, mod, mod, mod, mod, mod, mod, mod, mod, mod, nanoseconds, naturalLog, naturalLogPlusOne, negate, not, or, or, or, or, or, or, or, power, power, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, product, product, product, product, product, product, product, product, product, product, promoteTo, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, radians, random, replace, replace, replaceAll, replaceCharacter, replaceFirst, reverse, round, setBoolean, setCharacter, setCharAt, setE, setEnumeration, setFalse, setLength, setMaximum, setMinimum, setNegativeInfinity, setPi, setPositiveInfinity, setPrimitive, setReal, setReal, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setText, setTrue, setUnity, setZero, shiftLeft, shiftRight, shiftRightExtendZero, shortPostDecrement, shortPostIncrement, shortValue, signum, sine, square, squareRoot, subSequence, substring, substring, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, swapPrimitives, tangent, textPostDecrement, textPostIncrement, titleCase, toBoolean, toCharacter, toCodePoint, toEnumeration, toNumber, toPrimitive, toReal, toScalar, toUnlimitedDecimal, toUnlimitedInteger, trim, unlimitedDecimalPostDecrement, unlimitedDecimalPostIncrement, unlimitedIntegerPostDecrement, unlimitedIntegerPostIncrement, upperCase, xor, xor, xor, xor, xor, xor, xor
andOfPrimitive, angleWithPrimitive, differenceOfPrimitive, hypotenuseWithPrimitive, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, sumOfPrimitive, xorOfPrimitive
andOfNumber, andOfReal, angleWithReal, compareToNumber, compareToReal, compareToReal, compareToReal, differenceOfNumber, differenceOfReal, gcdOfNumber, gcdOfReal, hypotenuseWithReal, isEqualToNumber, isEqualToReal, isGreaterOrEqualToNumber, isGreaterOrEqualToReal, isGreaterThanNumber, isGreaterThanReal, isLessOrEqualToNumber, isLessOrEqualToReal, isLessThanNumber, isLessThanReal, isNotEqualToNumber, isNotEqualToReal, modOfNumber, modOfReal, orOfNumber, orOfReal, powerOfReal, productOfNumber, productOfReal, quotientOfNumber, quotientOfReal, setNumber, setReal, sumOfNumber, sumOfReal, unlimitedIntegerModularInverse, xorOfNumber, xorOfReal
andOfScalar, angleWithNumber, angleWithScalar, boundsCheck, byteMaskAt, byteNotMaskAt, byteValue, ceiling, charMaskAt, charNotMaskAt, charValue, clearByteBitAt, clearCharBitAt, clearDoubleBitAt, clearFloatBitAt, clearIntBitAt, clearLongBitAt, clearShortBitAt, clearUnlimitedDecimalBitAt, clearUnlimitedIntegerBitAt, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareTo, compareToScalar, differenceOfScalar, divideByZero, down, floor, gcdOfScalar, getBooleanBitAt, getByteBitAt, getCharBitAt, getDoubleBitAt, getFloatBitAt, getIntBitAt, getLongBitAt, getShortBitAt, getUnlimitedDecimalBitAt, getUnlimitedIntegerBitAt, halfDown, halfEven, halfUp, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, indexOutOfBoundsAt, intGCD, intMaskAt, intModularInverse, intModularQuotient, intNotMaskAt, intValue, isEqualToScalar, isFalse, isGreaterOrEqualToScalar, isGreaterThanScalar, isLessOrEqualToScalar, isLessThanScalar, isNotEqualToScalar, isTrue, isValid, longGCD, longMaskAt, longModularInverse, longModularQuotient, longNotMaskAt, longValue, modOfScalar, orOfScalar, powerOfNumber, powerOfScalar, productOfScalar, quotientOfScalar, setByteBitAt, setCharBitAt, setDoubleBitAt, setFloatBitAt, setIntBitAt, setLongBitAt, setShortBitAt, setUnlimitedDecimalBitAt, setUnlimitedIntegerBitAt, shortMaskAt, shortNotMaskAt, shortValue, sumOfScalar, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toByteArray, toUnlimitedInteger, unlimitedIntegerMaskAt, unlimitedIntegerNotMaskAt, up, xorOfScalar
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
swapPrimitives
inducePostDecrement, inducePostIncrement, inducePrimitiveMaximum, inducePrimitiveMinimum, inducePrimitiveValue
compareToPrimitive, isEqualToPrimitive, isGreaterOrEqualToPrimitive, isGreaterThanPrimitive, isLessOrEqualToPrimitive, isLessThanPrimitive, isNotEqualToPrimitive
compareTo
toPrimitive
andOfPrimitive, angleWithPrimitive, differenceOfPrimitive, hypotenuseWithPrimitive, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, setBoolean, setCharacter, setPrimitive, sumOfPrimitive, xorOfPrimitive
inducePostDecrement, inducePostIncrement, induceRealValue
inducePostDecrement, inducePostIncrement, induceScalarValue
compareToReal, compareToReal, compareToReal, isEqual, isEqual, isEqualToReal, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToReal, isGreaterThanReal, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqualToReal, isLessThanReal, isNotEqual, isNotEqual, isNotEqualToReal
compareToNumber, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToZero, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToNumber, isEqualToScalar, isFalse, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToNumber, isGreaterOrEqualToScalar, isGreaterThanNumber, isGreaterThanScalar, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqualToNumber, isLessOrEqualToScalar, isLessThanNumber, isLessThanScalar, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqualToNumber, isNotEqualToScalar, isTrue, toBoolean, toCharacter, toCodePoint, toEnumeration, toNumber
getConcurrency
isFinite, isImaginary, isInfinity, isInvalid, isMaximum, isMinimum, isModulo, isNegative, isNegativeFinite, isNegativeInfinity, isPositive, isPositiveFinite, isPositiveInfinity, isReal, isUnity, isValid, isZero, signum
isAlphabetic, isBmpCodePoint, isDigit, isHighSurrogate, isIdentifierIgnorable, isIdeographic, isISOControl, isJavaIdentifierPart, isJavaIdentifierStart, isLetter, isLetterOrDigit, isLowerCase, isLowSurrogate, isMirrored, isSupplementaryCodePoint, isSurrogate, isTitleCase, isUnicode, isUnicodeIdentifierPart, isUnicodeIdentifierStart, isUpperCase, isValidCodePoint, isWhitespace
booleanValue
byteValue
charValue
doubleValue
floatValue
intValue
longValue
shortValue
induceRealMaximum, induceRealMinimum
getPrecision, induceScalarMaximum, induceScalarMinimum
induceRealSize
induceScalarSize
toReal
toScalar
and, andOfReal, angleWithReal, difference, difference, differenceOfReal, gcd, gcdOfReal, hypotenuseWithReal, mod, mod, modOfReal, or, orOfReal, powerOfReal, product, product, productOfReal, quotient, quotient, quotientOfReal, setReal, sum, sum, sumOfReal, xor, xorOfReal
absoluteValue, and, and, and, and, and, and, andOfNumber, andOfScalar, angleWith, angleWithNumber, angleWithScalar, arcCosine, arcSine, arcTangent, base10Log, ceiling, cosine, cube, cubeRoot, decrement, degrees, difference, difference, difference, difference, difference, difference, difference, difference, differenceOfNumber, differenceOfScalar, down, exponential, exponentialLessOne, floor, gcd, gcd, gcd, gcd, gcd, gcdOfNumber, gcdOfScalar, halfDown, halfEven, halfUp, hyperbolicCosine, hyperbolicSine, hyperbolicTangent, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, increment, invalidate, inverse, milliseconds, mod, mod, mod, mod, mod, mod, mod, mod, modOfNumber, modOfScalar, nanoseconds, naturalLog, naturalLogPlusOne, negate, not, or, or, or, or, or, or, orOfNumber, orOfScalar, power, power, powerOfNumber, powerOfScalar, product, product, product, product, product, product, product, product, productOfNumber, productOfScalar, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotientOfNumber, quotientOfScalar, radians, random, round, setE, setEnumeration, setMaximum, setMinimum, setNegativeInfinity, setNumber, setPi, setPositiveInfinity, setScalar, setUnity, setZero, shiftLeft, shiftRight, shiftRightExtendZero, sine, square, squareRoot, sum, sum, sum, sum, sum, sum, sum, sum, sumOfNumber, sumOfScalar, tangent, up, xor, xor, xor, xor, xor, xor, xorOfNumber, xorOfScalar
booleanPostDecrement, booleanPostIncrement, setFalse, setScalar, setTrue
bytePostDecrement, bytePostIncrement, setScalar
charPostDecrement, charPostIncrement, setScalar
doublePostDecrement, doublePostIncrement, setScalar
floatPostDecrement, floatPostIncrement, setScalar
intPostDecrement, intPostIncrement, setScalar
longPostDecrement, longPostIncrement, setScalar
setScalar, shortPostDecrement, shortPostIncrement
assertPrecision, promoteTo
assertDomain
toUnlimitedInteger
setReal, unlimitedIntegerPostDecrement, unlimitedIntegerPostIncrement
toUnlimitedDecimal
setReal, unlimitedDecimalPostDecrement, unlimitedDecimalPostIncrement
induceTextSize, induceTextValue
compareToText, isEqualToText, isGreaterOrEqualToText, isGreaterThanText, isLessOrEqualToText, isLessThanText, isNotEqualToText
codePointAt, codePointBefore, codePointCount, indexOfText, indexOfText, substring, substring
charAt, length, subSequence
isText
append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendCodePoint, clearText, delete, deleteCharAt, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, lowerCase, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, replace, replace, replaceAll, replaceCharacter, replaceFirst, reverse, setCharAt, setLength, setText, textPostDecrement, textPostIncrement, titleCase, trim, upperCase
public static final net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> EMPTY_MEMBERS
public AbstractConstantAccumulator()
public AbstractConstantAccumulator(Accumulator<?> anAccumulator)
public AbstractConstantAccumulator(BigDecimal aTarget)
public AbstractConstantAccumulator(BigInteger aTarget)
public AbstractConstantAccumulator(boolean aTarget)
public AbstractConstantAccumulator(byte aTarget)
public AbstractConstantAccumulator(char aTarget)
public AbstractConstantAccumulator(double aTarget)
public AbstractConstantAccumulator(Enum<?> aTarget)
public AbstractConstantAccumulator(float aTarget)
public AbstractConstantAccumulator(int aTarget)
public AbstractConstantAccumulator(long aTarget)
public AbstractConstantAccumulator(Primitive<?> aTarget)
public AbstractConstantAccumulator(Primitive<?> aTarget, net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
public AbstractConstantAccumulator(short aTarget)
public AbstractConstantAccumulator(String aTarget)
public final ACCUMULATOR copy()
Replicator
copy
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copy
in interface Replicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copy
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
public final ACCUMULATOR copySharing(Accumulator<?> anAccumulator)
AccumulatorReplicator
target
Primitive
and its
relationship
collection. Where direct
sharing is not possible, shallow copies will be performed instead.copySharing
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copySharing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
anAccumulator
- an Accumulator to share withtarget
Primitive
and and its relationship
collectionpublic final ACCUMULATOR copySharing(net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
AccumulatorReplicator
copySharing
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copySharing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
members
- the relationship collection to sharepublic final ACCUMULATOR copySharing(Primitive<?> aTarget)
AccumulatorReplicator
Primitive
target. Where direct sharing is not possible, shallow
copies will be performed instead.copySharing
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copySharing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
public final ACCUMULATOR copySharing(Primitive<?> aTarget, net.sf.jupperware.association.AssociativeList<Accumulator<?>,Accumulator<?>> members)
AccumulatorReplicator
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 sharepublic final ACCUMULATOR copyUsing(BigDecimal aValue)
RealReplicator
copyUsing
in interface RealReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(BigInteger aValue)
RealReplicator
copyUsing
in interface RealReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(boolean aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(byte aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(char aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(double aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(float aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(int aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(long aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsing(short aValue)
ScalarReplicator
copyUsing
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsing
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsingAccumulator(SealedAccumulator<?> anAccumulator)
AccumulatorReplicator
target
Primitive
and a shallow copy of the
members
of the specified AccumulatorcopyUsingAccumulator
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingAccumulator
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
anAccumulator
- an Accumulator to copy fromtarget
Primitive
and a shallow copy of the members
of the specified Accumulatorpublic final ACCUMULATOR copyUsingPrimitive(SealedPrimitive<?> aValue)
PrimitiveReplicator
copyUsingPrimitive
in interface AccumulatorReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingPrimitive
in interface PrimitiveReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingPrimitive
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsingReal(SealedReal<?> aValue)
RealReplicator
copyUsingReal
in interface RealReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingReal
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsingScalar(SealedScalar<?> aValue)
ScalarReplicator
copyUsingScalar
in interface ScalarReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingScalar
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final ACCUMULATOR copyUsingText(CharSequence aValue)
TextReplicator
copyUsingText
in interface PrimitiveReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingText
in interface TextReplicator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
copyUsingText
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
aValue
- a new valuepublic final boolean isConfigurable()
StructureProperties
true
if the implementation of this object can be changed.expanded
, or reduced
, or has replaceable
components. Configurable structures are necessarily
mutable
; in fact, "configurability" can be
used as a strict definition of mutability. This predicate however
overrides #isMutable
in the respect that, for some types of
objects such as Variants
, mutability can be changed by
switching from a non-mutable implementation to a mutable one (e.g., via
assertPrecision
).isConfigurable
in interface StructureProperties
isConfigurable
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
true
if the implementation of this object can be changedpublic final boolean isElastic()
StructureProperties
true
if this structure, in principle, can be
reduced via element removal or expanded via element addition. Empty
collections are, in principle, reducible, but read-only
collections are neither reducible or expandable.isElastic
in interface StructureProperties
isElastic
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
true
if this structure can be either
reduced
or expanded
public final boolean isExpandable()
isExpandable
in interface StructureProperties
isExpandable
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
true
if this structure can be expanded via element
insertionpublic final boolean isReducible()
StructureProperties
true
if this structure, in principle, can be
reduced via element removal. Empty collections are, in principle,
reducible, but read-only collections are not.isReducible
in interface StructureProperties
isReducible
in class AbstractAccumulator<ACCUMULATOR extends AbstractConstantAccumulator<ACCUMULATOR>>
true
if this structure, in principle, can be
reduced via element removalCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.