PRIMITIVE
- this primitive type (used to facilitate operation chaining on write
operations)public abstract class AbstractBooleanPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>> extends AbstractNumericPrimitive<PRIMITIVE>
boolean
precision primitive
implementationNaN, ONEI, ZERO_DOUBLE_LONG_BITS, ZERO_FLOAT_INT_BITS, ZEROI
Constructor and Description |
---|
AbstractBooleanPrimitive() |
Modifier and Type | Method and Description |
---|---|
PRIMITIVE |
absoluteValue()
Replace the current value with the absolute value of itself
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
boolean |
booleanPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
boolean |
booleanPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
byte |
bytePostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
byte |
bytePostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
byte |
byteValue() |
char |
charPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
char |
charPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
char |
charValue() |
PRIMITIVE |
copyUsing(BigDecimal aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
PRIMITIVE |
copyUsing(BigInteger aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
PRIMITIVE |
copyUsing(byte aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(char aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(double aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(float aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(int aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(long aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsing(short aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
PRIMITIVE |
copyUsingPrimitive(SealedPrimitive<?> aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
PRIMITIVE |
copyUsingReal(SealedReal<?> aValue)
Using this real as a factory, produce a new real of the
same type but initialized with the value specified
|
PRIMITIVE |
copyUsingScalar(SealedScalar<?> aValue)
Using this scalar as a factory, produce a new scalar of the
same type but initialized with the value specified
|
PRIMITIVE |
cube()
Replace the current value with the cube of itself
|
PRIMITIVE |
decrement()
Replace the current value with the current value minus unity (one)
|
PRIMITIVE |
difference(BigDecimal aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(BigInteger aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(boolean aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(byte aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(char aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(double aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(float aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(int aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(long aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
PRIMITIVE |
difference(short aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
double |
doublePostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
double |
doublePostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
double |
doubleValue() |
float |
floatPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
float |
floatPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
float |
floatValue() |
StructureStrategy |
getStructureStrategy() |
int |
hashCode() |
PRIMITIVE |
increment()
Replace the current value with the current value plus unity (one)
|
<S extends Scalar<?>> |
inducePostDecrement(S aTarget)
Decrement the value of this scalar then induce its original value into
the specified target
|
<S extends Scalar<?>> |
inducePostIncrement(S aTarget)
Increment the value of this scalar then induce its original value into
the specified target
|
<REAL extends Real<?>> |
induceRealMaximum(REAL aTarget)
Induce the maximum domain value into the target
|
<REAL extends Real<?>> |
induceRealMinimum(REAL aTarget)
Induce the minimum domain value into the target
|
<REAL extends Real<?>> |
induceRealValue(REAL aTarget)
Induce the current value of this real into the specified target
|
<S extends Scalar<?>> |
induceScalarMaximum(S aTarget)
Induce the maximum domain value into the target
|
<S extends Scalar<?>> |
induceScalarMinimum(S aTarget)
Induce the minimum domain value into the target
|
<S extends Scalar<?>> |
induceScalarValue(S aTarget)
Induce the current value of this scalar into the specified target
|
int |
intPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
int |
intPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
int |
intValue() |
PRIMITIVE |
invalidate()
Replace the current value an invalid value such
INVALID if possible, otherwise replace it with zero |
PRIMITIVE |
inverse()
Replace the current value its multiplicative inverse (
1/x ) |
boolean |
isDigit()
Determine if this
char -width or int -width
character is a digit within Unicode |
boolean |
isFinite() |
boolean |
isIdentifierIgnorable()
Determine if this
char -width or int -width
character ignorable character in a Java identifier or a Unicode
identifier |
boolean |
isInfinity() |
boolean |
isInvalid() |
boolean |
isISOControl()
Determine if this
char -width or int -width
character is an ISO control character within Unicode |
boolean |
isJavaIdentifierPart()
Determine if this
char -width or int -width
character is a part of a Java identifier as other than the first
character |
boolean |
isJavaIdentifierStart()
Determine if this
char -width or int -width
character is permissible as the first character in a Java identifier |
boolean |
isLetter()
Determine if this
char -width or int -width
character is a letter within Unicode |
boolean |
isLetterOrDigit()
Determine if this
char -width or int -width
character is a letter or digit within Unicode |
boolean |
isLowerCase()
Determine if this
char -width or int -width
character is a lower case character within Unicode |
boolean |
isMaximum() |
boolean |
isMinimum() |
boolean |
isMirrored()
Determine if this
char -width or int -width
character is "mirrored" within Unicode |
boolean |
isModulo()
Answer
true if this value represents the magnitude of a vector
into a modulo set, or finite ring. |
boolean |
isNegative() |
boolean |
isNegativeFinite() |
boolean |
isNegativeInfinity() |
boolean |
isOrdered()
Answer
true if the elements of this structure necessarily
share a partial or total order between each other within the context of
this structure. |
boolean |
isPositive() |
boolean |
isPositiveFinite() |
boolean |
isPositiveInfinity() |
boolean |
isReal()
Answer
true if this value represents the magnitude of a vector
into the set of real numbers. |
boolean |
isTitleCase()
Determine if this
char -width or int -width
character is a title case character within Unicode |
boolean |
isUnicode()
Determine if this
char -width or int -width
character is defined within Unicode |
boolean |
isUnicodeIdentifierPart()
Determine if this
char -width or int -width
character is a part of a Unicode identifier as other than the first
character |
boolean |
isUnicodeIdentifierStart()
Determine if this
char -width or int -width
character is permissible as the first character in a Unicode identifier |
boolean |
isUnique() |
boolean |
isUnity()
Answer
true if this value represents the multiplicative
identity in its arithmetic domain. |
boolean |
isUpperCase()
Determine if this
char -width or int -width
character is an upper case character within Unicode |
boolean |
isWhitespace()
Determine if this
char -width or int -width
character is whitespace within Unicode |
boolean |
isZero()
Answer
true if this value represents the additive identity
in its algebraic group. |
long |
longPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
long |
longPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
long |
longValue() |
PRIMITIVE |
lowerCase()
For text-based objects, convert all characters in the text to lower case.
|
PRIMITIVE |
mod(boolean aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
PRIMITIVE |
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.
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
product(BigDecimal aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(BigInteger aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(boolean aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(byte aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(char aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(double aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(float aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(int aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(long aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
product(short aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
PRIMITIVE |
quotient(boolean aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value
|
PRIMITIVE |
round(RoundingStrategy aRoundingStrategy)
Round the current value using the specified rounding
strategy |
PRIMITIVE |
setMaximum()
Replace the current value with maximum value available for the
implementation's numeric
precision . |
PRIMITIVE |
setMinimum()
Replace the current value with minimum value available for the
implementation's numeric
precision . |
PRIMITIVE |
setPrimitive(SealedPrimitive<?> aValue)
Set this property to the specified primitive
|
PRIMITIVE |
setReal(BigDecimal aValue)
Set this property to the specified unlimited
decimal
value and answer this object (facilitates chaining) |
PRIMITIVE |
setReal(BigInteger aValue)
Set this property to the specified unlimited
integer
value and answer this object (facilitates chaining) |
PRIMITIVE |
setReal(SealedReal<?> aValue)
Set this property to the specified numeric
primitive and answer this object (facilitates chaining) |
PRIMITIVE |
setScalar(byte aValue)
Set this property to the specified
byte value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(char aValue)
Set this property to the specified
char value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(double aValue)
Set this property to the specified
double value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(float aValue)
Set this property to the specified
float value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(int aValue)
Set this property to the specified
int value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(long aValue)
Set this property to the specified
long value and answer this
object (facilitates chaining) |
PRIMITIVE |
setScalar(SealedScalar<?> aValue)
Set this object to the specified scalar
|
PRIMITIVE |
setScalar(short aValue)
Set this property to the specified
short value and answer this
object (facilitates chaining) |
PRIMITIVE |
setUnity()
Replace the current value with the multiplicative identity appropriate
for the implementation (one)
|
PRIMITIVE |
setZero()
Replace the current value with the additive identity appropriate for the
implementation (zero)
|
PRIMITIVE |
shiftLeft(int count)
Attempt to shift the elements of this tuple to the "left" the specified
number of ordinal positions.
|
PRIMITIVE |
shiftRight(int count)
Attempt to shift the elements of this tuple to the "right" the specified
number of ordinal positions.
|
short |
shortPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
short |
shortPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
short |
shortValue() |
int |
signum() |
PRIMITIVE |
square()
Replace the current value with the square of itself
|
PRIMITIVE |
sum(BigDecimal aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(BigInteger aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(boolean aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(byte aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(char aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(double aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(float aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(int aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(long aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
sum(short aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
PRIMITIVE |
swapPrimitives(Primitive<?> aPrimitive)
Swap the value of this primitive for the specified one and set the
specified primitive's value to the current value of this primitive
|
PRIMITIVE |
titleCase()
For text-based objects, convert all characters in the text to
title case. |
Number |
toNumber() |
String |
toString() |
BigDecimal |
toUnlimitedDecimal() |
BigInteger |
toUnlimitedInteger() |
BigDecimal |
unlimitedDecimalPostDecrement()
Decrement the real value of this object then return the original value
prior to decrementing
|
BigDecimal |
unlimitedDecimalPostIncrement()
Increment the real value of this object then return the original value
prior to incrementing
|
BigInteger |
unlimitedIntegerPostDecrement()
Decrement the real value of this object then return the original value
prior to decrementing
|
BigInteger |
unlimitedIntegerPostIncrement()
Increment the real value of this object then return the original value
prior to incrementing
|
PRIMITIVE |
upperCase()
For text-based objects, convert all characters in the text to upper case.
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
PRIMITIVE |
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
|
append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendCodePoint, charAt, clear, clearContents, clearText, codePointAt, codePointBefore, codePointCount, compareTo, compareToPrimitive, copyUsingText, delete, deleteCharAt, equals, indexOfText, indexOfText, inducePostDecrement, inducePostDecrement, inducePostIncrement, inducePostIncrement, inducePrimitiveValue, induceTextValue, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, isEmpty, isEqualToPrimitive, isEqualToText, isGreaterOrEqualToPrimitive, isGreaterOrEqualToText, isGreaterThanPrimitive, isGreaterThanText, isLessOrEqualToPrimitive, isLessOrEqualToText, isLessThanPrimitive, isLessThanText, isNotEqualToPrimitive, isNotEqualToText, isText, length, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, replace, replace, replaceAll, replaceCharacter, replaceFirst, reverse, setBoolean, setCharacter, setCharAt, setLength, setNumber, setText, subSequence, substring, substring, textPostDecrement, textPostIncrement, toPrimitive, toPrimitive, trim
andOfPrimitive, angleWithPrimitive, compareToText, differenceOfPrimitive, hypotenuseWithPrimitive, inducePrimitiveMaximum, inducePrimitiveMinimum, induceTextSize, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, sumOfPrimitive, toPrimitive, xorOfPrimitive
and, andOfNumber, andOfReal, angleWithReal, compareToNumber, compareToReal, compareToReal, compareToReal, differenceOfNumber, differenceOfReal, gcd, gcdOfNumber, gcdOfReal, hypotenuseWithReal, induceRealSize, isEqual, isEqual, isEqualToNumber, isEqualToReal, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToNumber, isGreaterOrEqualToReal, isGreaterThanNumber, isGreaterThanReal, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqualToNumber, isLessOrEqualToReal, isLessThanNumber, isLessThanReal, isNotEqual, isNotEqual, isNotEqualToNumber, isNotEqualToReal, mod, mod, modOfNumber, modOfReal, or, orOfNumber, orOfReal, powerOfReal, productOfNumber, productOfReal, quotient, quotient, quotientOfNumber, quotientOfReal, sumOfNumber, sumOfReal, toReal, unlimitedIntegerModularInverse, xor, xorOfNumber, xorOfReal
and, andOfScalar, angleWith, angleWithNumber, angleWithScalar, arcCosine, arcSine, arcTangent, assertDomain, assertPrecision, base10Log, 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, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToZero, cosine, cubeRoot, degrees, differenceOfScalar, divideByZero, down, exponential, exponentialLessOne, floor, gcd, gcd, gcd, gcd, gcd, gcdOfScalar, getBooleanBitAt, getByteBitAt, getCharBitAt, getDomain, getDoubleBitAt, getFloatBitAt, getIntBitAt, getLongBitAt, getPrecision, getShortBitAt, getUnlimitedDecimalBitAt, getUnlimitedIntegerBitAt, halfDown, halfEven, halfUp, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hyperbolicCosine, hyperbolicSine, hyperbolicTangent, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, indexOutOfBoundsAt, induceScalarSize, intGCD, intMaskAt, intModularInverse, intModularQuotient, intNotMaskAt, intValue, isAlphabetic, isBmpCodePoint, isConfigurable, isCountable, isElastic, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToScalar, isExpandable, isFalse, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToScalar, isGreaterThanScalar, isHighSurrogate, isIdeographic, isImaginary, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqualToScalar, isLessThanScalar, isLowSurrogate, isMutable, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqualToScalar, isReducible, isSupplementaryCodePoint, isSurrogate, isTrue, isValid, isValidCodePoint, longGCD, longMaskAt, longModularInverse, longModularQuotient, longNotMaskAt, longSize, longValue, milliseconds, mod, mod, mod, mod, mod, mod, mod, modOfScalar, nanoseconds, naturalLog, naturalLogPlusOne, or, orOfScalar, power, power, powerOfNumber, powerOfScalar, productOfScalar, promoteTo, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotientOfScalar, radians, random, setByteBitAt, setCharBitAt, setDoubleBitAt, setE, setEnumeration, setFalse, setFloatBitAt, setIntBitAt, setLongBitAt, setNegativeInfinity, setPi, setPositiveInfinity, setShortBitAt, setTrue, setUnlimitedDecimalBitAt, setUnlimitedIntegerBitAt, shiftRightExtendZero, shortMaskAt, shortNotMaskAt, shortValue, sine, size, squareRoot, sumOfScalar, tangent, toBoolean, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toByteArray, toCharacter, toCodePoint, toEnumeration, toScalar, toUnlimitedInteger, unlimitedIntegerMaskAt, unlimitedIntegerNotMaskAt, up, xor, xorOfScalar
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareToReal, compareToReal, compareToReal, isEqual, isEqual, isEqualToReal, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToReal, isGreaterThanReal, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqualToReal, isLessThanReal, isNotEqual, isNotEqual, isNotEqualToReal
compareToNumber, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToScalar, compareToZero, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToNumber, isEqualToScalar, isFalse, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToNumber, isGreaterOrEqualToScalar, isGreaterThanNumber, isGreaterThanScalar, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqualToNumber, isLessOrEqualToScalar, isLessThanNumber, isLessThanScalar, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqualToNumber, isNotEqualToScalar, isTrue, toBoolean, toCharacter, toCodePoint, toEnumeration
getConcurrency
isImaginary, isValid
isAlphabetic, isBmpCodePoint, isHighSurrogate, isIdeographic, isLowSurrogate, isSupplementaryCodePoint, isSurrogate, isValidCodePoint
booleanValue
getPrecision
induceRealSize
induceScalarSize
getDomain, longSize, size
isConfigurable, isCountable, isElastic, isExpandable, isReducible
toReal
copyUsing, toScalar
copy
and, andOfReal, angleWithReal, differenceOfReal, gcd, gcdOfReal, hypotenuseWithReal, mod, mod, modOfReal, or, orOfReal, powerOfReal, productOfReal, quotient, quotient, quotientOfReal, sumOfReal, xor, xorOfReal
and, andOfNumber, andOfScalar, angleWith, angleWithNumber, angleWithScalar, arcCosine, arcSine, arcTangent, base10Log, ceiling, cosine, cubeRoot, degrees, differenceOfNumber, differenceOfScalar, down, exponential, exponentialLessOne, floor, gcd, gcd, gcd, gcd, gcd, gcdOfNumber, gcdOfScalar, halfDown, halfEven, halfUp, hyperbolicCosine, hyperbolicSine, hyperbolicTangent, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, milliseconds, mod, mod, mod, mod, mod, mod, mod, modOfNumber, modOfScalar, nanoseconds, naturalLog, naturalLogPlusOne, not, or, orOfNumber, orOfScalar, power, power, powerOfNumber, powerOfScalar, productOfNumber, productOfScalar, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotientOfNumber, quotientOfScalar, radians, random, setE, setEnumeration, setNegativeInfinity, setPi, setPositiveInfinity, shiftRightExtendZero, sine, squareRoot, sumOfNumber, sumOfScalar, tangent, up, xor, xorOfNumber, xorOfScalar
setFalse, setScalar, setTrue
assertPrecision, promoteTo
assertDomain
public AbstractBooleanPrimitive()
public final PRIMITIVE absoluteValue() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
absoluteValue
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
absoluteValue
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE and(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
and
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
and
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE and(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
and
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
and
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE and(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
and
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
and
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE and(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
and
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
and
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE and(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
and
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
and
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 boolean booleanPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableBooleanValue
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 boolean booleanPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableBooleanValue
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 byte bytePostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableByteValue
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 byte bytePostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableByteValue
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 byte byteValue()
byteValue
in interface SealedByteValue
byteValue
in class Number
byte
public final char charPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableCharacterValue
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 char charPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableCharacterValue
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 char charValue()
char
public PRIMITIVE copyUsing(BigDecimal aValue)
RealReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(BigInteger aValue)
RealReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(byte aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(char aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(double aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(float aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(int aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(long aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsing(short aValue)
ScalarReplicator
aValue
- a new valuepublic PRIMITIVE copyUsingPrimitive(SealedPrimitive<?> aValue)
PrimitiveReplicator
aValue
- a new valuepublic PRIMITIVE copyUsingReal(SealedReal<?> aValue)
RealReplicator
aValue
- a new valuepublic PRIMITIVE copyUsingScalar(SealedScalar<?> aValue)
ScalarReplicator
aValue
- a new valuepublic final PRIMITIVE cube() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
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 PRIMITIVE decrement() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
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 PRIMITIVE difference(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
difference
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
difference
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE difference(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
difference
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
difference
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 double doublePostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableDoubleValue
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 double doublePostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableDoubleValue
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 double doubleValue()
doubleValue
in interface SealedDoubleValue
doubleValue
in class Number
double
public final float floatPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableFloatValue
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 float floatPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableFloatValue
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 float floatValue()
floatValue
in interface SealedFloatValue
floatValue
in class Number
float
public final StructureStrategy getStructureStrategy()
getStructureStrategy
in interface SealedAlgebraicStructure
getStructureStrategy
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
public final int hashCode()
hashCode
in interface SealedKernel
hashCode
in class Object
public final PRIMITIVE increment() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
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 <S extends Scalar<?>> S inducePostDecrement(S aTarget) throws NullPointerException, NoSuchElementException, UnsupportedOperationException, IllegalStateException
ScalarInductor
S
- the target typeaTarget
- a target into which the current value of this scalar will be
induced, prior to decrementingNullPointerException
- a null
value was provided when none was expectedNoSuchElementException
- an expected parameter was not found in the parameter sourceUnsupportedOperationException
- this target primitive cannot be changedIllegalStateException
- this target primitive cannot be changed at this timepublic final <S extends Scalar<?>> S inducePostIncrement(S aTarget) throws NullPointerException, NoSuchElementException, UnsupportedOperationException, IllegalStateException
ScalarInductor
S
- the target typeaTarget
- a target into which the current value of this scalar will be
induced, prior to incrementingNullPointerException
- a null
value was provided when none was expectedNoSuchElementException
- an expected parameter was not found in the parameter sourceUnsupportedOperationException
- this target primitive cannot be changedIllegalStateException
- this target primitive cannot be changed at this timepublic final <REAL extends Real<?>> REAL induceRealMaximum(REAL aTarget) throws NullPointerException, NoSuchElementException, UnsupportedOperationException, IllegalStateException
SealedRealDomain
REAL
- the target typeaTarget
- a target into which this domain's maximum value will be inducedNullPointerException
- a null
value was provided when none was expectedNoSuchElementException
- an expected parameter was not found in the parameter sourceUnsupportedOperationException
- this target primitive cannot be changedIllegalStateException
- this target primitive cannot be changed at this timepublic final <REAL extends Real<?>> REAL induceRealMinimum(REAL aTarget) throws NullPointerException, NoSuchElementException, UnsupportedOperationException, IllegalStateException
SealedRealDomain
REAL
- the target typeaTarget
- a target into which this domain's minimum value will be inducedNullPointerException
- a null
value was provided when none was expectedNoSuchElementException
- an expected parameter was not found in the parameter sourceUnsupportedOperationException
- this target primitive cannot be changedIllegalStateException
- this target primitive cannot be changed at this timepublic final <REAL extends Real<?>> REAL induceRealValue(REAL aTarget) throws NullPointerException, NoSuchElementException, UnsupportedOperationException, IllegalStateException
RealInductor
REAL
- the target typeaTarget
- a target into which the current value of this real will be
inducedNullPointerException
- a null
value was provided when none was expectedNoSuchElementException
- an expected parameter was not found in the parameter sourceUnsupportedOperationException
- this target primitive cannot be changedIllegalStateException
- this target primitive cannot be changed at this timepublic final <S extends Scalar<?>> S induceScalarMaximum(S aTarget)
SealedScalarDomain
S
- the target typeaTarget
- a target into which this domain's maximum value will be inducedpublic final <S extends Scalar<?>> S induceScalarMinimum(S aTarget)
SealedScalarDomain
S
- the target typeaTarget
- a target into which this domain's minimum value will be inducedpublic final <S extends Scalar<?>> S induceScalarValue(S aTarget)
ScalarInductor
S
- the target typeaTarget
- a target into which the current value of this scalar will be
inducedpublic final int intPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableIntegerValue
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 int intPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableIntegerValue
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 int intValue()
intValue
in interface SealedIntegerValue
intValue
in class Number
int
public final PRIMITIVE invalidate() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
INVALID
if possible, otherwise replace it with zeroinvalidate
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
invalidate
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE inverse() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
1/x
)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 boolean isDigit()
CharacterProperties
char
-width or int
-width
character is a digit within UnicodeisDigit
in interface CharacterProperties
isDigit
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a digit in UnicodeCharacter.isDigit(char)
,
Character.isDigit(int)
public final boolean isFinite()
isFinite
in interface NumericProperties
isFinite
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if this value represents a valid and finite valuepublic final boolean isIdentifierIgnorable()
CharacterProperties
char
-width or int
-width
character ignorable character in a Java identifier or a Unicode
identifierisIdentifierIgnorable
in interface CharacterProperties
isIdentifierIgnorable
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, ignorable character in a Java
identifier or a Unicode identifier as other than the first
characterCharacter.isIdentifierIgnorable(char)
,
Character.isIdentifierIgnorable(int)
public final boolean isInfinity()
public final boolean isInvalid()
public final boolean isISOControl()
CharacterProperties
char
-width or int
-width
character is an ISO control character within UnicodeisISOControl
in interface CharacterProperties
isISOControl
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is an ISO control character in
UnicodeCharacter.isISOControl(char)
,
Character.isISOControl(int)
public final boolean isJavaIdentifierPart()
CharacterProperties
char
-width or int
-width
character is a part of a Java identifier as other than the first
characterisJavaIdentifierPart
in interface CharacterProperties
isJavaIdentifierPart
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a part of a Java identifier as
other than the first characterCharacter.isJavaIdentifierPart(char)
,
Character.isJavaIdentifierPart(int)
public final boolean isJavaIdentifierStart()
CharacterProperties
char
-width or int
-width
character is permissible as the first character in a Java identifierisJavaIdentifierStart
in interface CharacterProperties
isJavaIdentifierStart
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is permissible as the first
character in a Java identifierCharacter.isJavaIdentifierStart(char)
,
Character.isJavaIdentifierStart(int)
public final boolean isLetter()
CharacterProperties
char
-width or int
-width
character is a letter within UnicodeisLetter
in interface CharacterProperties
isLetter
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a letter in UnicodeCharacter.isLetter(char)
,
Character.isLetter(int)
public final boolean isLetterOrDigit()
CharacterProperties
char
-width or int
-width
character is a letter or digit within UnicodeisLetterOrDigit
in interface CharacterProperties
isLetterOrDigit
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a letter or digit in UnicodeCharacter.isLetterOrDigit(char)
,
Character.isLetterOrDigit(int)
public final boolean isLowerCase()
CharacterProperties
char
-width or int
-width
character is a lower case character within UnicodeisLowerCase
in interface CharacterProperties
isLowerCase
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a lower case character in
UnicodeCharacter.isLowerCase(char)
,
Character.isLowerCase(int)
public final boolean isMaximum()
true
if this value represents the maximum rational value
in the totally ordered set it representspublic final boolean isMinimum()
true
if this value represents the minimum rational value
in the totally ordered set it representspublic final boolean isMirrored()
CharacterProperties
char
-width or int
-width
character is "mirrored" within UnicodeisMirrored
in interface CharacterProperties
isMirrored
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is "mirrored" in UnicodeCharacter.isMirrored(char)
,
Character.isMirrored(int)
public final boolean isModulo()
NumericProperties
true
if this value represents the magnitude of a vector
into a modulo set, or finite ring. This is not the same as testing
whether this object's implementation resembles the specification for the
MODULO
domain, since that is too specific to
implementation machinery. Modulo values, for instance can either be
real
or imaginary
.true
if this value represents the magnitude of a vector
into a modulo set, or finite ringpublic final boolean isNegative()
true
if this value represents a negative valuepublic final boolean isNegativeFinite()
isNegativeFinite
in interface NumericProperties
isNegativeFinite
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if this value represents a valid, finite and
negative valuepublic final boolean isNegativeInfinity()
true
if this value represents negative
infinitypublic final boolean isOrdered()
StructureProperties
true
if the elements of this structure necessarily
share a partial or total order between each other within the context of
this structure. Ordering does not necessarily imply a simple sequencing
between randomly selected elements, but rather a necessary sorting order
between elements independent of the sets they are related by. A
SortedSet
is ordered, not merely because its elements are de
facto sorted, but because the SortedSet
defines a universe in
which only sortable elements can exist and it defines a sorting function
which places those elements in their sorted order at the time of
iteration. An ordered
set has elements with values that are reflexive, antisymmetric, and
transitive relative to each other. Necessarily empty sets are not
considered ordered.isOrdered
in interface StructureProperties
isOrdered
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the structure has either a partial or total order
over its elementspublic final boolean isPositive()
true
if this value represents a positive valuepublic final boolean isPositiveFinite()
isPositiveFinite
in interface NumericProperties
isPositiveFinite
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if this value represents a valid, finite and
negative valuepublic final boolean isPositiveInfinity()
true
if this value represents positive
infinitypublic final boolean isReal()
NumericProperties
true
if this value represents the magnitude of a vector
into the set of real numbers. This is not the same as testing whether
this object's implementation resembles the specification for the
REAL
domain, since that is too specific to
implementation machinery. This more general test also includes real
modulo
values in its specification.true
if this value represents the magnitude of a vector
into the set of real numberspublic final boolean isTitleCase()
CharacterProperties
char
-width or int
-width
character is a title case character within UnicodeisTitleCase
in interface CharacterProperties
isTitleCase
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a title case character in
UnicodeCharacter.isTitleCase(char)
,
Character.isTitleCase(int)
public final boolean isUnicode()
CharacterProperties
char
-width or int
-width
character is defined within UnicodeisUnicode
in interface CharacterProperties
isUnicode
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is defined in UnicodeCharacter.isDefined(char)
,
Character.isDefined(int)
public final boolean isUnicodeIdentifierPart()
CharacterProperties
char
-width or int
-width
character is a part of a Unicode identifier as other than the first
characterisUnicodeIdentifierPart
in interface CharacterProperties
isUnicodeIdentifierPart
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is a part of a Unicode identifier
as other than the first characterCharacter.isUnicodeIdentifierPart(char)
,
Character.isUnicodeIdentifierPart(int)
public final boolean isUnicodeIdentifierStart()
CharacterProperties
char
-width or int
-width
character is permissible as the first character in a Unicode identifierisUnicodeIdentifierStart
in interface CharacterProperties
isUnicodeIdentifierStart
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is permissible as the first
character in a Unicode identifierCharacter.isUnicodeIdentifierStart(char)
,
Character.isUnicodeIdentifierStart(int)
public final boolean isUnique()
isUnique
in interface StructureProperties
isUnique
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the elements in this structure are, by definition
of the structure's algebra, unique (e.g., sets
)public final boolean isUnity()
NumericProperties
true
if this value represents the multiplicative
identity in its arithmetic domain. For real numbers this is 1, for
matrices it would be the identity matrix and for functions this
would be a pass-through.true
if this value represents the multiplicative
identity in its domainpublic final boolean isUpperCase()
CharacterProperties
char
-width or int
-width
character is an upper case character within UnicodeisUpperCase
in interface CharacterProperties
isUpperCase
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is an upper case character in
UnicodeCharacter.isUpperCase(char)
,
Character.isUpperCase(int)
public final boolean isWhitespace()
CharacterProperties
char
-width or int
-width
character is whitespace within UnicodeisWhitespace
in interface CharacterProperties
isWhitespace
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
true
if the scalar value of this object, as appropriate
for this objects's precision, is whitespace in UnicodeCharacter.isWhitespace(char)
,
Character.isWhitespace(int)
public final boolean isZero()
NumericProperties
true
if this value represents the additive identity
in its algebraic group. For real numbers this is 0, for matrices this
would be the zero matrix and for functions this would map every
parameter to zero.true
if this value represents the additive
identity in its algebraic grouppublic final long longPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableLongValue
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 long longPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableLongValue
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 long longValue()
longValue
in interface SealedLongValue
longValue
in class Number
long
public final PRIMITIVE lowerCase()
MutableTextValue
lowerCase
in interface MutableTextValue<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
lowerCase
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
public final PRIMITIVE mod(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
mod
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
mod
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE negate() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
boolean
and char
values do not exist, these
implementations will simply fail silently.)UnsupportedOperationException
- if this object's value cannot be changedArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this object (optional)IllegalArgumentException
- if the new value was incommensurate with this object's
specification (optional)public final PRIMITIVE or(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
or
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
or
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE or(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
or
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
or
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE or(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
or
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
or
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE or(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
or
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
or
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE or(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
or
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
or
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
product
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
product
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE product(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
product
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
product
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE quotient(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
quotient
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
quotient
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE round(RoundingStrategy aRoundingStrategy) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableScalar
strategy
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 objectNullPointerException
public final PRIMITIVE setMaximum() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
precision
. 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.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 PRIMITIVE setMinimum() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalar
precision
. 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.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 PRIMITIVE setPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutablePrimitive
setPrimitive
in interface MutablePrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
setPrimitive
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
aValue
- a 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 PRIMITIVE setReal(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableUnlimitedDecimalValue
decimal
value and answer this object (facilitates chaining)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 PRIMITIVE setReal(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableUnlimitedIntegerValue
integer
value and answer this object (facilitates chaining)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 PRIMITIVE setReal(SealedReal<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableReal
primitive
and answer this object (facilitates chaining)setReal
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
setReal
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
aValue
- a numeric primitive
UnsupportedOperationException
- 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 PRIMITIVE setScalar(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableByteValue
byte
value and answer this
object (facilitates chaining)aValue
- a byte
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 objectpublic final PRIMITIVE setScalar(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableCharacterValue
char
value and answer this
object (facilitates chaining)aValue
- a char
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 objectpublic final PRIMITIVE setScalar(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableDoubleValue
double
value and answer this
object (facilitates chaining)aValue
- a double
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 objectpublic final PRIMITIVE setScalar(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableFloatValue
float
value and answer this
object (facilitates chaining)aValue
- a float
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 objectpublic final PRIMITIVE setScalar(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableIntegerValue
int
value and answer this
object (facilitates chaining)aValue
- an int
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 objectpublic final PRIMITIVE setScalar(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableLongValue
long
value and answer this
object (facilitates chaining)aValue
- a long
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 objectpublic final PRIMITIVE setScalar(SealedScalar<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
MutableScalar
setScalar
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
setScalar
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE setScalar(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableShortValue
short
value and answer this
object (facilitates chaining)aValue
- a short
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 objectpublic final PRIMITIVE setUnity() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
setUnity
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
setUnity
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE setZero() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
setZero
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
setZero
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE 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.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 PRIMITIVE 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.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 short shortPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableShortValue
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 short shortPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableShortValue
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 short shortValue()
shortValue
in interface SealedShortValue
shortValue
in class Number
short
public final int signum()
signum
in interface NumericProperties
signum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
zero
, -1 if this number
is negative
or +1 if it is
positive
public final PRIMITIVE square() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
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 PRIMITIVE sum(BigDecimal aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
sum
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(BigInteger aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableReal
sum
in interface MutableReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractReal<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(double aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE sum(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
sum
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
sum
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE swapPrimitives(Primitive<?> aPrimitive)
Primitive
aPrimitive
- the primitive to swap withpublic final PRIMITIVE titleCase()
MutableTextValue
title
case. For numeric objects,
convert their character (BMP) or integer value (Unicode) to title case,
depending on the object's precision leveltitleCase
in interface MutableTextValue<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
titleCase
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
public final Number toNumber()
Number
objectpublic final String toString()
toString
in interface CharSequence
toString
in interface SealedKernel
toString
in class Object
public final BigDecimal toUnlimitedDecimal()
decimal
property valuepublic final BigInteger toUnlimitedInteger()
integer
property valuepublic final BigDecimal unlimitedDecimalPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableUnlimitedDecimalValue
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 BigDecimal unlimitedDecimalPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableUnlimitedDecimalValue
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 BigInteger unlimitedIntegerPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableUnlimitedIntegerValue
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 BigInteger unlimitedIntegerPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableUnlimitedIntegerValue
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 PRIMITIVE upperCase()
MutableTextValue
upperCase
in interface MutableTextValue<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
upperCase
in class AbstractNumericPrimitive<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
public final PRIMITIVE xor(byte aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
xor
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
xor
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE xor(char aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
xor
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
xor
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE xor(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
xor
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
xor
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE xor(long aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
xor
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
xor
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 PRIMITIVE xor(short aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalar
xor
in interface MutableScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
xor
in class AbstractScalar<PRIMITIVE extends AbstractBooleanPrimitive<PRIMITIVE>>
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 objectCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.