public final class Variant extends AbstractPrimitiveWrapper<Variant>
primitive that adjusts its numeric
precision, and hence its implementation, based on
the precision of function argumentsNaN, ONEI, ZERO_DOUBLE_LONG_BITS, ZERO_FLOAT_INT_BITS, ZEROI| Constructor and Description |
|---|
Variant(BigDecimal aValue) |
Variant(BigInteger aValue) |
Variant(boolean aValue) |
Variant(byte aValue) |
Variant(char aValue) |
Variant(double aValue) |
Variant(E aValue) |
Variant(float aValue) |
Variant(int aValue) |
Variant(long aValue) |
Variant(Primitive<?>... targets) |
Variant(PrimitiveAction<Primitive<?>> aRealTranslator,
Primitive<?>... targets) |
Variant(short aValue) |
Variant(String aValue) |
| Modifier and Type | Method and Description |
|---|---|
Variant |
absoluteValue()
Replace the current value with the absolute value of itself
|
Variant |
and(BigInteger aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(boolean aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(byte aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(char aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(int aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(long aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
and(short aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
Variant |
angleWith(double aValue)
Set this value to the angle formed by the rectangular coordinates given
by the current value, x, and the specified value, y.
|
Variant |
append(boolean aValue) |
Variant |
append(char c) |
Variant |
append(char[] content) |
Variant |
append(char[] content,
int contentIndex) |
Variant |
append(char[] content,
int contentIndex,
int contentLength) |
Variant |
append(CharSequence s) |
Variant |
append(CharSequence content,
int contentStartIndex) |
Variant |
append(CharSequence s,
int start,
int end) |
Variant |
append(double aValue) |
Variant |
append(float aValue) |
Variant |
append(int aValue) |
Variant |
append(long aValue) |
Variant |
append(Object aValue) |
Variant |
append(StringBuffer sb) |
Variant |
appendCodePoint(int codePoint) |
Variant |
arcCosine()
Replace the current value with its arc
cosine |
Variant |
arcSine()
Replace the current value with its arc
sine |
Variant |
arcTangent()
Replace the current value with its arc
tangent |
Variant |
assertDomain(Domain aDomain)
Attempt to convert the implementation
domain of this
structure to the closest available match for the proposed domain. |
Variant |
assertPrecision(NumericPrecision prec)
Convert the numeric
precision of this
implementation to the closest available match for the proposed precision. |
Variant |
base10Log()
Replace the current value with its base 10 logarithm
|
Variant |
copy()
Produce a replica of this object
|
Variant |
copyUsing(BigDecimal aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
Variant |
copyUsing(BigInteger aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
Variant |
copyUsing(boolean aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(byte aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(char aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(double aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(float aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(int aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(long aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsing(short aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
Variant |
copyUsingPrimitive(SealedPrimitive<?> aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
Variant |
copyUsingReal(SealedReal<?> aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
Variant |
copyUsingScalar(SealedScalar<?> aValue)
Using this scalar as a factory, produce a new scalar of the
same type but initialized with the value specified
|
Variant |
copyUsingText(CharSequence aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
Variant |
cosine()
Replace the current value, assumed to be an angle in radians, to its
cosine |
Variant |
cube()
Replace the current value with the cube of itself
|
Variant |
cubeRoot()
Replace the current value with the cube root of itself
|
Variant |
decrement()
Replace the current value with the current value minus unity (one)
|
Variant |
degrees()
Replace the current value, assumed to be an angle in radians, to its
equivalent angle in degrees
|
Variant |
delete(int start,
int end) |
Variant |
deleteCharAt(int anIndex) |
Variant |
difference(BigDecimal aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(BigInteger aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(boolean aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(byte aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(char aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(double aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(float aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(int aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(long aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
difference(short aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
Variant |
exponential()
Replace the current value with e (Napier's constant) raised to the
current value (en)
|
Variant |
exponentialLessOne()
Replace the current value with e (Napier's constant) raised to the
current value, less 1 (en-1)
|
Variant |
gcd(BigInteger aValue)
Replace the current value with the greatest common denonimator between
this value and the specific one
|
Variant |
gcd(byte aValue)
Replace the current value with the greatest common factor between this
value and the specific one
|
Variant |
gcd(char aValue)
Replace the current value with the greatest common factor between this
value and the specific one
|
Variant |
gcd(int aValue)
Replace the current value with the greatest common factor between this
value and the specific one
|
Variant |
gcd(long aValue)
Replace the current value with the greatest common factor between this
value and the specific one
|
Variant |
gcd(short aValue)
Replace the current value with the greatest common factor between this
value and the specific one
|
PrimitiveAction<Primitive<?>> |
getRealTranslator() |
Primitive<?> |
getTarget() |
Variant |
hyperbolicCosine()
Replace the current value, assumed to be an angle in radians, to its
hyperbolic
cosine |
Variant |
hyperbolicSine()
Replace the current value, assumed to be an angle in radians, to its
hyperbolic
sine |
Variant |
hyperbolicTangent()
Replace the current value, assumed to be an angle in radians, to its
hyperbolic
tangent |
Variant |
increment()
Replace the current value with the current value plus unity (one)
|
Variant |
insert(int anIndex,
boolean aValue) |
Variant |
insert(int anIndex,
char aValue) |
Variant |
insert(int anIndex,
char[] content) |
Variant |
insert(int targetIndex,
char[] content,
int contentIndex,
int contentLength) |
Variant |
insert(int anIndex,
CharSequence content) |
Variant |
insert(int targetIndex,
CharSequence content,
int contentIndex) |
Variant |
insert(int targetIndex,
CharSequence content,
int contentStartIndex,
int contentEndIndexPlusOne) |
Variant |
insert(int anIndex,
double aValue) |
Variant |
insert(int anIndex,
float aValue) |
Variant |
insert(int anIndex,
int aValue) |
Variant |
insert(int anIndex,
long aValue) |
Variant |
insert(int anIndex,
Object aValue) |
Variant |
invalidate()
Replace the current value an invalid value such
INVALID if possible, otherwise replace it with zero |
Variant |
inverse()
Replace the current value its multiplicative inverse (
1/x) |
boolean |
isConfigurable()
|
Variant |
lowerCase()
For text-based objects, convert all characters in the text to lower case.
|
Variant |
mod(BigDecimal aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(BigInteger aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(boolean aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(byte aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(char aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(double aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(float aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(int aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(long aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
mod(short aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
Variant |
naturalLog()
Replace the current value with its base e (Napier's constant)
logarithm (loge(n))
|
Variant |
naturalLogPlusOne()
Replace the current value, plus 1, with its base e (Napier's
constant) logarithm (loge(n+1))
|
Variant |
negate()
Replace the current value with the additive inverse (sign negation) of
itself, that is transform it into a number that when added to the
original yields zero.
|
Variant |
not()
Replace the current integral binary vector with its one's
complement.
|
Variant |
or(BigInteger aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(boolean aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(byte aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(char aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(int aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(long aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
or(short aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
Variant |
power(double n)
Set this value to the current value, x, raised to the specified
exponent, n, or xn
|
Variant |
power(int n)
Set this value to the current value, x, raised to the specified
exponent, n, or xn
|
Variant |
prepend(boolean aValue) |
Variant |
prepend(char aValue) |
Variant |
prepend(char[] content) |
Variant |
prepend(char[] content,
int contentIndex) |
Variant |
prepend(char[] content,
int contentIndex,
int contentLength) |
Variant |
prepend(CharSequence content) |
Variant |
prepend(CharSequence content,
int contentIndex) |
Variant |
prepend(CharSequence content,
int contentStartIndex,
int contentEndIndexPlusOne) |
Variant |
prepend(double aValue) |
Variant |
prepend(float aValue) |
Variant |
prepend(int aValue) |
Variant |
prepend(long aValue) |
Variant |
prepend(Object aValue) |
Variant |
product(BigDecimal aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(BigInteger aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(boolean aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(byte aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(char aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(double aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(float aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(int aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(long aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
product(short aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
Variant |
promoteTo(NumericPrecision prec)
If this object's implementation is less
precise
than the specified numeric precision, then convert this implementation to
the closest available match for the proposed precision. |
Variant |
quotient(BigDecimal aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value
|
Variant |
quotient(BigInteger aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value
|
Variant |
quotient(boolean aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value
|
Variant |
quotient(byte aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
quotient(char aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value
|
Variant |
quotient(double aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
quotient(float aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
quotient(int aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
quotient(long aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
quotient(short aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
Variant |
radians()
Replace the current value, assumed to be an angle in degrees, to its
equivalent angle in radians
|
Variant |
replace(CharSequence target,
CharSequence replacement) |
Variant |
replace(int start,
int end,
String str) |
Variant |
replaceAll(String regex,
String replacement) |
Variant |
replaceCharacter(char oldChar,
char newChar) |
Variant |
replaceFirst(String regex,
String replacement) |
Variant |
reverse() |
Variant |
round(RoundingStrategy aRoundingStrategy)
Round the current value using the specified rounding
strategy |
Variant |
setBoolean(Boolean aValue)
Set this property to the specified system-supported
Boolean and
answer this object (facilitates chaining) |
Variant |
setCharacter(Character aValue)
Set this property to the specified system-supported
Character and
answer this object (facilitates chaining) |
Variant |
setCharAt(int index,
char ch) |
Variant |
setE()
Replace the current value with e, or Napier's constant
|
<E extends Enum<E>> |
setEnumeration(E aValue)
Match the value of this object with the identity of the specified
enumeration instance, then answer this object (facilitates
chaining) |
Variant |
setFalse()
Set this property to its equivalent of
true and answer this
object (facilitates chaining) |
Variant |
setLength(int newLength) |
Variant |
setMaximum()
Replace the current value with maximum value available for the
implementation's numeric
precision. |
Variant |
setMinimum()
Replace the current value with minimum value available for the
implementation's numeric
precision. |
Variant |
setNegativeInfinity()
Replace the current value with a representation of negative infinity, if
available, otherwise replace with the implementation's
minimum value |
Variant |
setPi()
Replace the current value with Pi
|
Variant |
setPositiveInfinity()
Replace the current value with a representation of positive infinity, if
available, otherwise replace with the implementation's
maximum value |
Variant |
setReal(BigDecimal aValue)
Set this property to the specified unlimited
decimal
value and answer this object (facilitates chaining) |
Variant |
setReal(BigInteger aValue)
Set this property to the specified unlimited
integer
value and answer this object (facilitates chaining) |
Variant |
setReal(SealedReal<?> aValue)
Set this property to the specified numeric
primitive and answer this object (facilitates chaining) |
Variant |
setScalar(boolean aValue)
Set this property to the specified
boolean value and answer this
object (facilitates chaining) |
Variant |
setScalar(byte aValue)
Set this property to the specified
byte value and answer this
object (facilitates chaining) |
Variant |
setScalar(char aValue)
Set this property to the specified
char value and answer this
object (facilitates chaining) |
Variant |
setScalar(double aValue)
Set this property to the specified
double value and answer this
object (facilitates chaining) |
Variant |
setScalar(float aValue)
Set this property to the specified
float value and answer this
object (facilitates chaining) |
Variant |
setScalar(int aValue)
Set this property to the specified
int value and answer this
object (facilitates chaining) |
Variant |
setScalar(long aValue)
Set this property to the specified
long value and answer this
object (facilitates chaining) |
Variant |
setScalar(SealedScalar<?> aValue)
Set this object to the specified scalar
|
Variant |
setScalar(short aValue)
Set this property to the specified
short value and answer this
object (facilitates chaining) |
Variant |
setText(CharSequence content)
Set this property to the specified
text value and answer
this object (facilitates chaining) |
Variant |
setTrue()
Set this property to its equivalent of
true and answer this
object (facilitates chaining) |
Variant |
setUnity()
Replace the current value with the multiplicative identity appropriate
for the implementation (one)
|
Variant |
setZero()
Replace the current value with the additive identity appropriate for the
implementation (zero)
|
Variant |
shiftLeft(int count)
Attempt to shift the elements of this tuple to the "left" the specified
number of ordinal positions.
|
Variant |
shiftRight(int count)
Attempt to shift the elements of this tuple to the "right" the specified
number of ordinal positions.
|
Variant |
shiftRightExtendZero(int count)
Attempt to shift the elements of this tuple to the "right" the specified
number of ordinal positions without sign extension.
|
Variant |
sine()
Replace the current value, assumed to be an angle in radians, to its
sine |
Variant |
square()
Replace the current value with the square of itself
|
Variant |
squareRoot()
Replace the current value with the square root of itself
|
CharSequence |
subSequence(int start,
int end) |
String |
substring(int beginIndex) |
String |
substring(int beginIndex,
int endIndex) |
Variant |
sum(BigDecimal aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(BigInteger aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(boolean aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(byte aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(char aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(double aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(float aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(int aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(long aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
sum(short aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
Variant |
swapPrimitives(Primitive<?> aValue)
Swap the value of this primitive for the specified one and set the
specified primitive's value to the current value of this primitive
|
Variant |
tangent()
Replace the current value, assumed to be an angle in radians, to its
tangent |
static Primitive<?> |
toPrimitive(Number aNumber) |
static Primitive<?> |
toPrimitive(NumericPrecision prec) |
static Primitive<?> |
toPrimitive(SealedReal<?> aReal) |
static Primitive<?> |
toPrimitive(SealedScalar<?> aScalar) |
Variant |
upperCase()
For text-based objects, convert all characters in the text to upper case.
|
static Variant |
valueOfPrimitive(SealedPrimitive<?> aValue) |
static Variant |
valueOfReal(SealedReal<?> aReal) |
static Variant |
valueOfScalar(SealedScalar<?> aScalar) |
Variant |
xor(BigInteger aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(boolean aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(byte aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(char aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(int aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(long aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
Variant |
xor(short aValue)
Set this value to the bit exclusive-or of the integral
boolean vector equivalent of this value and the specified integral
boolean vector
|
booleanPostDecrement, booleanPostIncrement, booleanValue, bytePostDecrement, bytePostIncrement, byteValue, charAt, charPostDecrement, charPostIncrement, charValue, clear, clearContents, clearText, codePointAt, codePointBefore, codePointCount, compareTo, compareToPrimitive, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToText, compareToZero, doublePostDecrement, doublePostIncrement, doubleValue, equals, floatPostDecrement, floatPostIncrement, floatValue, getConcurrency, getDomain, getPrecision, getStructureStrategy, hashCode, indexOfText, indexOfText, inducePostDecrement, inducePostDecrement, inducePostDecrement, inducePostIncrement, inducePostIncrement, inducePostIncrement, inducePrimitiveMaximum, inducePrimitiveMinimum, inducePrimitiveValue, induceRealMaximum, induceRealMinimum, induceRealSize, induceRealValue, induceScalarMaximum, induceScalarMinimum, induceScalarSize, induceScalarValue, induceTextSize, induceTextValue, intPostDecrement, intPostIncrement, intValue, isAlphabetic, isBmpCodePoint, isCountable, isDigit, isElastic, isEmpty, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToPrimitive, isEqualToText, isExpandable, 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, isOrdered, isPositive, isPositiveFinite, isPositiveInfinity, isReal, isReducible, isSupplementaryCodePoint, isSurrogate, isText, isTitleCase, isUnicode, isUnicodeIdentifierPart, isUnicodeIdentifierStart, isUnique, isUnity, isUpperCase, isValidCodePoint, isWhitespace, isZero, length, longPostDecrement, longPostIncrement, longSize, longValue, milliseconds, nanoseconds, random, setPrimitive, shortPostDecrement, shortPostIncrement, shortValue, signum, size, textPostDecrement, textPostIncrement, titleCase, toBoolean, toCharacter, toCodePoint, toEnumeration, toNumber, toPrimitive, toReal, toScalar, toString, toUnlimitedDecimal, toUnlimitedInteger, trim, unlimitedDecimalPostDecrement, unlimitedDecimalPostIncrement, unlimitedIntegerPostDecrement, unlimitedIntegerPostIncrementandOfPrimitive, angleWithPrimitive, differenceOfPrimitive, hypotenuseWithPrimitive, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, sumOfPrimitive, xorOfPrimitiveandOfNumber, 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, sumOfNumber, sumOfReal, unlimitedIntegerModularInverse, xorOfNumber, xorOfRealandOfScalar, 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, xorOfScalarclone, finalize, getClass, notify, notifyAll, wait, wait, waitandOfPrimitive, angleWithPrimitive, differenceOfPrimitive, hypotenuseWithPrimitive, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, sumOfPrimitive, xorOfPrimitivecompareToReal, compareToReal, compareToReal, isEqualToReal, isGreaterOrEqualToReal, isGreaterThanReal, isLessOrEqualToReal, isLessThanReal, isNotEqualToRealcompareToNumber, compareToScalar, isEqualToNumber, isEqualToScalar, isFalse, isGreaterOrEqualToNumber, isGreaterOrEqualToScalar, isGreaterThanNumber, isGreaterThanScalar, isLessOrEqualToNumber, isLessOrEqualToScalar, isLessThanNumber, isLessThanScalar, isNotEqualToNumber, isNotEqualToScalar, isTrueisValidandOfReal, angleWithReal, differenceOfReal, gcdOfReal, hypotenuseWithReal, modOfReal, orOfReal, powerOfReal, productOfReal, quotientOfReal, sumOfReal, xorOfRealandOfNumber, andOfScalar, angleWithNumber, angleWithScalar, ceiling, differenceOfNumber, differenceOfScalar, down, floor, gcdOfNumber, gcdOfScalar, halfDown, halfEven, halfUp, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, modOfNumber, modOfScalar, orOfNumber, orOfScalar, powerOfNumber, powerOfScalar, productOfNumber, productOfScalar, quotientOfNumber, quotientOfScalar, setNumber, sumOfNumber, sumOfScalar, up, xorOfNumber, xorOfScalarpublic Variant(BigDecimal aValue)
public Variant(BigInteger aValue)
public Variant(boolean aValue)
public Variant(byte aValue)
public Variant(char aValue)
public Variant(double aValue)
public Variant(E aValue)
public Variant(float aValue)
public Variant(int aValue)
public Variant(long aValue)
public Variant(PrimitiveAction<Primitive<?>> aRealTranslator, Primitive<?>... targets)
public Variant(short aValue)
public final Variant absoluteValue() throws UnsupportedOperationException
MutableScalarabsoluteValue in interface MutableScalar<Variant>absoluteValue in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic final Variant and(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealand in interface MutableReal<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant and(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarand in interface MutableScalar<Variant>and in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant angleWith(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarangleWith in interface MutableScalar<Variant>angleWith in class AbstractPrimitiveWrapper<Variant>aValue - a y coordinate valueUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectMath.atan2(double, double)public final Variant append(boolean aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(char c) throws UnsupportedOperationException
append in interface Appendableappend in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(char[] content) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(char[] content, int contentIndex) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(CharSequence s) throws UnsupportedOperationException
append in interface Appendableappend in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(CharSequence content, int contentStartIndex) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(CharSequence s, int start, int end) throws UnsupportedOperationException
append in interface Appendableappend in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(double aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(float aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(int aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(long aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(Object aValue) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant append(StringBuffer sb) throws UnsupportedOperationException
append in interface MutableTextValue<Variant>append in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant appendCodePoint(int codePoint) throws UnsupportedOperationException
appendCodePoint in interface MutableTextValue<Variant>appendCodePoint in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant arcCosine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarcosinearcCosine in interface MutableScalar<Variant>arcCosine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant arcSine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsinearcSine in interface MutableScalar<Variant>arcSine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant arcTangent() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalartangentarcTangent in interface MutableScalar<Variant>arcTangent in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant assertDomain(Domain aDomain)
MutableAlgebraicStructuredomain of this
structure to the closest available match for the proposed domain. Note
that the domain of this implementation may not change as a result
of calling this function if an available internal conversion is not
available.assertDomain in interface MutableAlgebraicStructure<Variant>assertDomain in class AbstractPrimitiveWrapper<Variant>aDomain - the proposed domainthis object (facilitates operation chaining)StructureProperties.isConfigurable()public final Variant assertPrecision(NumericPrecision prec)
MutableScalarDomainprecision of this
implementation to the closest available match for the proposed precision.
Note that the precision of this implementation may not change as a
result of calling this function if this structure is not configurable.assertPrecision in interface MutableScalarDomain<Variant>assertPrecision in class AbstractPrimitiveWrapper<Variant>prec - the proposed precisionthis object (facilitates operation chaining)public final Variant base10Log() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarbase10Log in interface MutableScalar<Variant>base10Log in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant copy()
Replicatorpublic final Variant copyUsing(BigDecimal aValue)
RealReplicatoraValue - a new valuepublic final Variant copyUsing(BigInteger aValue)
RealReplicatoraValue - a new valuepublic final Variant copyUsing(boolean aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(byte aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(char aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(double aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(float aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(int aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(long aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsing(short aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsingPrimitive(SealedPrimitive<?> aValue)
PrimitiveReplicatoraValue - a new valuepublic final Variant copyUsingReal(SealedReal<?> aValue)
RealReplicatoraValue - a new valuepublic final Variant copyUsingScalar(SealedScalar<?> aValue)
ScalarReplicatoraValue - a new valuepublic final Variant copyUsingText(CharSequence aValue)
PrimitiveReplicatoraValue - a new valuepublic final Variant cosine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarcosinecosine in interface MutableScalar<Variant>cosine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant cube() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarcube in interface MutableScalar<Variant>cube in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant cubeRoot() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarcubeRoot in interface MutableScalar<Variant>cubeRoot in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant decrement() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardecrement in interface MutableScalar<Variant>decrement in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant degrees() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardegrees in interface MutableScalar<Variant>degrees in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant delete(int start, int end) throws UnsupportedOperationException
delete in interface MutableTextValue<Variant>delete in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant deleteCharAt(int anIndex) throws UnsupportedOperationException
deleteCharAt in interface MutableTextValue<Variant>deleteCharAt in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant difference(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealdifference in interface MutableReal<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealdifference in interface MutableReal<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant difference(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<Variant>difference in class AbstractPrimitiveWrapper<Variant>aValue - a subtrahendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant exponential() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarexponential in interface MutableScalar<Variant>exponential in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant exponentialLessOne() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarexponentialLessOne in interface MutableScalar<Variant>exponentialLessOne in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant gcd(BigInteger aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableRealgcd in interface MutableReal<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant gcd(byte aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalargcd in interface MutableScalar<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant gcd(char aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalargcd in interface MutableScalar<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant gcd(int aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalargcd in interface MutableScalar<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant gcd(long aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalargcd in interface MutableScalar<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant gcd(short aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalargcd in interface MutableScalar<Variant>gcd in class AbstractPrimitiveWrapper<Variant>aValue - a valueUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final PrimitiveAction<Primitive<?>> getRealTranslator()
public final Primitive<?> getTarget()
getTarget in class AbstractPrimitiveWrapper<Variant>public final Variant hyperbolicCosine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarcosinehyperbolicCosine in interface MutableScalar<Variant>hyperbolicCosine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant hyperbolicSine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsinehyperbolicSine in interface MutableScalar<Variant>hyperbolicSine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant hyperbolicTangent() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalartangenthyperbolicTangent in interface MutableScalar<Variant>hyperbolicTangent in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant increment() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarincrement in interface MutableScalar<Variant>increment in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant insert(int anIndex, boolean aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, char aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, char[] content) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int targetIndex, char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, CharSequence content) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int targetIndex, CharSequence content, int contentIndex) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int targetIndex, CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, double aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, float aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, int aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, long aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant insert(int anIndex, Object aValue) throws UnsupportedOperationException
insert in interface MutableTextValue<Variant>insert in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant invalidate() throws UnsupportedOperationException
MutableScalarINVALID if possible, otherwise replace it with zeroinvalidate in interface MutableScalar<Variant>invalidate in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic final Variant inverse() throws UnsupportedOperationException
MutableScalar1/x)inverse in interface MutableScalar<Variant>inverse in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic boolean isConfigurable()
StructurePropertiestrue 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 StructurePropertiesisConfigurable in class AbstractPrimitiveWrapper<Variant>true if the implementation of this object can be changedpublic final Variant lowerCase() throws UnsupportedOperationException
MutableTextValuelowerCase in interface MutableTextValue<Variant>lowerCase in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant mod(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealmod in interface MutableReal<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealmod in interface MutableReal<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant mod(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<Variant>mod in class AbstractPrimitiveWrapper<Variant>aValue - a modulusUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant naturalLog() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarnaturalLog in interface MutableScalar<Variant>naturalLog in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant naturalLogPlusOne() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarnaturalLogPlusOne in interface MutableScalar<Variant>naturalLogPlusOne in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant negate() throws UnsupportedOperationException
MutableScalarboolean and char values do not exist, these
implementations will simply fail silently.)negate in interface MutableScalar<Variant>negate in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic final Variant not() throws UnsupportedOperationException
MutableScalardouble, will be first
converted to unlimited integers before their bits are
reversed.not in interface MutableScalar<Variant>not in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic final Variant or(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealor in interface MutableReal<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant or(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalaror in interface MutableScalar<Variant>or in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant power(double n) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarpower in interface MutableScalar<Variant>power in class AbstractPrimitiveWrapper<Variant>n - an exponentUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant power(int n) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarpower in interface MutableScalar<Variant>power in class AbstractPrimitiveWrapper<Variant>n - an exponentUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant prepend(boolean aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(char aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(char[] content) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(char[] content, int contentIndex) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(CharSequence content) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(CharSequence content, int contentIndex) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(double aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(float aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(int aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(long aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant prepend(Object aValue) throws UnsupportedOperationException
prepend in interface MutableTextValue<Variant>prepend in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant product(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealproduct in interface MutableReal<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealproduct in interface MutableReal<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant product(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<Variant>product in class AbstractPrimitiveWrapper<Variant>aValue - a multiplicandUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant promoteTo(NumericPrecision prec)
MutableScalarDomainprecise
than the specified numeric precision, then convert this implementation to
the closest available match for the proposed precision. Note that the
precision of this implementation may not change as a result of
calling this function if the proposed precision is less precise than the
this object's current precision level or if this structure is not
{@link StructureProperties#isConfigurable() configurable).promoteTo in interface MutableScalarDomain<Variant>promoteTo in class AbstractPrimitiveWrapper<Variant>prec - the proposed precisionthis object (facilitates operation chaining)StructureProperties.isConfigurable()public final Variant quotient(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealquotient in interface MutableReal<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealquotient in interface MutableReal<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant quotient(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<Variant>quotient in class AbstractPrimitiveWrapper<Variant>aValue - a divisorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant radians() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarradians in interface MutableScalar<Variant>radians in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant replace(CharSequence target, CharSequence replacement)
replace in interface MutableTextValue<Variant>replace in class AbstractPrimitiveWrapper<Variant>public final Variant replace(int start, int end, String str) throws UnsupportedOperationException
replace in interface MutableTextValue<Variant>replace in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant replaceAll(String regex, String replacement)
replaceAll in interface MutableTextValue<Variant>replaceAll in class AbstractPrimitiveWrapper<Variant>public final Variant replaceCharacter(char oldChar, char newChar)
replaceCharacter in interface MutableTextValue<Variant>replaceCharacter in class AbstractPrimitiveWrapper<Variant>public final Variant replaceFirst(String regex, String replacement)
replaceFirst in interface MutableTextValue<Variant>replaceFirst in class AbstractPrimitiveWrapper<Variant>public final Variant reverse() throws UnsupportedOperationException
reverse in interface MutableTextValue<Variant>reverse in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant round(RoundingStrategy aRoundingStrategy) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableScalarstrategyround in interface MutableScalar<Variant>round in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectNullPointerExceptionpublic final Variant setBoolean(Boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutablePrimitiveBoolean and
answer this object (facilitates chaining)setBoolean in interface MutablePrimitive<Variant>setBoolean in class AbstractPrimitiveWrapper<Variant>aValue - a system-supported BooleanUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setCharacter(Character aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutablePrimitiveCharacter and
answer this object (facilitates chaining)setCharacter in interface MutablePrimitive<Variant>setCharacter in class AbstractPrimitiveWrapper<Variant>aValue - a system-supported CharacterUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setCharAt(int index, char ch) throws UnsupportedOperationException
setCharAt in interface MutableTextValue<Variant>setCharAt in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant setE() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsetE in interface MutableScalar<Variant>setE in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic <E extends Enum<E>> Variant setEnumeration(E aValue) throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException, NullPointerException
MutableScalarenumeration instance, then answer this object (facilitates
chaining)setEnumeration in interface MutableScalar<Variant>setEnumeration in class AbstractPrimitiveWrapper<Variant>aValue - a system-supported enumerationUnsupportedOperationException - if this object's value cannot be changedArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the specified value was incommensurate with this object's
specificationNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setFalse() throws UnsupportedOperationException, ArithmeticException
MutableBooleanValuetrue and answer this
object (facilitates chaining)setFalse in interface MutableBooleanValue<Variant>setFalse in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new value was incompatible with with algebraic interpretation
of this objectpublic final Variant setLength(int newLength) throws UnsupportedOperationException
setLength in interface MutableTextValue<Variant>setLength in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant setMaximum() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarprecision. Unlimited
values will be replaced with the maximum value available for the most
precise system scalar appropriate for the implementation, that is
unlimited integer primitives will set
themselves to the maximum long value and
unlimited decimal primitives will set
themselves to the maximum double value.setMaximum in interface MutableScalar<Variant>setMaximum in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant setMinimum() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarprecision. Unlimited
values will be replaced with the minimum value available for the most
precise system scalar appropriate for the implementation, that is
unlimited integer primitives will set
themselves to the minimum long value and
unlimited decimal primitives will set
themselves to the minimum double value.setMinimum in interface MutableScalar<Variant>setMinimum in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant setNegativeInfinity() throws UnsupportedOperationException
MutableScalarminimum valuesetNegativeInfinity in interface MutableScalar<Variant>setNegativeInfinity in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedpublic final Variant setPi() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarsetPi in interface MutableScalar<Variant>setPi in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant setPositiveInfinity() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarmaximum valuesetPositiveInfinity in interface MutableScalar<Variant>setPositiveInfinity in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectIllegalArgumentException - if the new value was incommensurate with this object's
specificationpublic final Variant setReal(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableUnlimitedDecimalValuedecimal
value and answer this object (facilitates chaining)setReal in interface MutableUnlimitedDecimalValue<Variant>setReal in class AbstractPrimitiveWrapper<Variant>aValue - an unlimited decimal valueUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setReal(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableUnlimitedIntegerValueinteger
value and answer this object (facilitates chaining)setReal in interface MutableUnlimitedIntegerValue<Variant>setReal in class AbstractPrimitiveWrapper<Variant>aValue - an unlimited integer valueUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setReal(SealedReal<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableRealprimitive and answer this object (facilitates chaining)setReal in interface MutableReal<Variant>setReal in class AbstractReal<Variant>aValue - a numeric primitiveUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setScalar(boolean aValue) throws UnsupportedOperationException
MutableBooleanValueboolean value and answer this
object (facilitates chaining)setScalar in interface MutableBooleanValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a boolean valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(byte aValue) throws UnsupportedOperationException
MutableByteValuebyte value and answer this
object (facilitates chaining)setScalar in interface MutableByteValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a byte valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(char aValue) throws UnsupportedOperationException
MutableCharacterValuechar value and answer this
object (facilitates chaining)setScalar in interface MutableCharacterValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a char valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(double aValue) throws UnsupportedOperationException
MutableDoubleValuedouble value and answer this
object (facilitates chaining)setScalar in interface MutableDoubleValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a double valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(float aValue) throws UnsupportedOperationException
MutableFloatValuefloat value and answer this
object (facilitates chaining)setScalar in interface MutableFloatValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a float valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(int aValue) throws UnsupportedOperationException
MutableIntegerValueint value and answer this
object (facilitates chaining)setScalar in interface MutableIntegerValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - an int valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(long aValue) throws UnsupportedOperationException
MutableLongValuelong value and answer this
object (facilitates chaining)setScalar in interface MutableLongValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a long valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setScalar(SealedScalar<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableScalarsetScalar in interface MutableScalar<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a scalarUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectNullPointerException - a null value was provided though this object does not
accept null valuespublic final Variant setScalar(short aValue) throws UnsupportedOperationException
MutableShortValueshort value and answer this
object (facilitates chaining)setScalar in interface MutableShortValue<Variant>setScalar in class AbstractPrimitiveWrapper<Variant>aValue - a short valueUnsupportedOperationException - if this object's value cannot be changedpublic final Variant setText(CharSequence content) throws UnsupportedOperationException, NullPointerException, IllegalArgumentException
MutableTextValuetext value and answer
this object (facilitates chaining)setText in interface MutableTextValue<Variant>setText in class AbstractPrimitiveWrapper<Variant>content - a text valueUnsupportedOperationException - if this object's value cannot be changedNullPointerException - a null value was provided and this implementation does
not accept null valuesIllegalArgumentException - if the specified value was incommensurate with this object's
specificationpublic final Variant setTrue() throws UnsupportedOperationException, ArithmeticException
MutableBooleanValuetrue and answer this
object (facilitates chaining)setTrue in interface MutableBooleanValue<Variant>setTrue in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedArithmeticException - the new value was incompatible with with algebraic interpretation
of this objectpublic final Variant setUnity() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsetUnity in interface MutableScalar<Variant>setUnity in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant setZero() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsetZero in interface MutableScalar<Variant>setZero in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant shiftLeft(int count) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar<<). In other
sequences, the specified number of default values will be prepended to
the beginning of the sequence, increasing the ordinal position of all
existing elements by the specified count.shiftLeft in interface MutableScalar<Variant>shiftLeft in class AbstractPrimitiveWrapper<Variant>count - the number of default values to be prepended to this sequenceUnsupportedOperationException - if this object's value cannot be changed or if this structure is
not an algebraic tupleIllegalArgumentException - if the specified value was incommensurate with this structure's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this structurepublic final Variant shiftRight(int count) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar>> operator). In other sequences, the specified number of values
will be removed from the beginning of the sequence, decreasing the
ordinal position of all remaining elements by the specified count.shiftRight in interface MutableScalar<Variant>shiftRight in class AbstractPrimitiveWrapper<Variant>count - the number of values to be removed from the beginning of this
sequenceUnsupportedOperationException - if this object's value cannot be changed or if this structure is
not an algebraic tupleIllegalArgumentException - if the specified value was incommensurate with this structure's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this structurepublic final Variant shiftRightExtendZero(int count) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar>>> operator). In other
sequences, the specified number of values will be removed from the
beginning of the sequence, decreasing the ordinal position of all
remaining elements by the specified count.shiftRightExtendZero in interface MutableScalar<Variant>shiftRightExtendZero in class AbstractPrimitiveWrapper<Variant>count - the number of values to be removed from the beginning of this
sequenceUnsupportedOperationException - if this object's value cannot be changed or if this structure is
not an algebraic tupleIllegalArgumentException - if the specified value was incommensurate with this structure's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this structurepublic final Variant sine() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsinesine in interface MutableScalar<Variant>sine in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant square() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsquare in interface MutableScalar<Variant>square in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant squareRoot() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsquareRoot in interface MutableScalar<Variant>squareRoot in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final CharSequence subSequence(int start, int end)
subSequence in interface CharSequencesubSequence in class AbstractPrimitiveWrapper<Variant>public final String substring(int beginIndex) throws IndexOutOfBoundsException
substring in interface SealedTextValuesubstring in class AbstractPrimitiveWrapper<Variant>IndexOutOfBoundsExceptionpublic final String substring(int beginIndex, int endIndex) throws IndexOutOfBoundsException
substring in interface SealedTextValuesubstring in class AbstractPrimitiveWrapper<Variant>IndexOutOfBoundsExceptionpublic final Variant sum(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealsum in interface MutableReal<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealsum in interface MutableReal<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant sum(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<Variant>sum in class AbstractPrimitiveWrapper<Variant>aValue - an addendUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant swapPrimitives(Primitive<?> aValue) throws UnsupportedOperationException
PrimitiveswapPrimitives in interface Primitive<Variant>swapPrimitives in class AbstractPrimitiveWrapper<Variant>aValue - the primitive to swap withUnsupportedOperationExceptionpublic final Variant tangent() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalartangenttangent in interface MutableScalar<Variant>tangent in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant upperCase() throws UnsupportedOperationException
MutableTextValueupperCase in interface MutableTextValue<Variant>upperCase in class AbstractPrimitiveWrapper<Variant>UnsupportedOperationExceptionpublic final Variant xor(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableRealxor in interface MutableReal<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic final Variant xor(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarxor in interface MutableScalar<Variant>xor in class AbstractPrimitiveWrapper<Variant>aValue - an integral boolean vectorUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectpublic static final Primitive<?> toPrimitive(Number aNumber)
public static final Primitive<?> toPrimitive(NumericPrecision prec)
public static final Primitive<?> toPrimitive(SealedReal<?> aReal)
public static final Primitive<?> toPrimitive(SealedScalar<?> aScalar)
public static final Variant valueOfPrimitive(SealedPrimitive<?> aValue)
public static final Variant valueOfReal(SealedReal<?> aReal)
public static final Variant valueOfScalar(SealedScalar<?> aScalar)
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.