PRIMITIVE
- this type (used to facilitate operation chaining)public interface MutablePrimitive<PRIMITIVE extends MutablePrimitive<PRIMITIVE>> extends MutableText<PRIMITIVE>, MutableReal<PRIMITIVE>, MutableScalar<PRIMITIVE>
Modifier and Type | Method and Description |
---|---|
PRIMITIVE |
andOfPrimitive(SealedPrimitive<?> aValue)
Set this value to the bit and of the integral boolean
vector equivalent of this value and the specified integral boolean vector
|
PRIMITIVE |
angleWithPrimitive(SealedPrimitive<?> y)
Set this value to the angle formed by the rectangular coordinates given
by the current value, x, and the specified value, y.
|
PRIMITIVE |
differenceOfPrimitive(SealedPrimitive<?> aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value.
|
PRIMITIVE |
hypotenuseWithPrimitive(SealedPrimitive<?> y)
Set this value to the hypotenuse formed by the square root of the sum of
the square of the current value, x, and the square of the
specified value, y, without intermediate overflow or underflow
|
PRIMITIVE |
modOfPrimitive(SealedPrimitive<?> aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
PRIMITIVE |
orOfPrimitive(SealedPrimitive<?> aValue)
Set this value to the bit or of the integral boolean vector
equivalent of this value and the specified integral boolean vector
|
PRIMITIVE |
powerOfPrimitive(SealedPrimitive<?> aValue)
Set this value to the current value, x, raised to the specified
exponent, n, or xn
|
PRIMITIVE |
productOfPrimitive(SealedPrimitive<?> aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value.
|
PRIMITIVE |
quotientOfPrimitive(SealedPrimitive<?> aValue)
Set the value of this scalar to the mathematical quotient between
its current value and the specified value.
|
PRIMITIVE |
setBoolean(Boolean aValue)
Set this property to the specified system-supported
Boolean and
answer this object (facilitates chaining) |
PRIMITIVE |
setCharacter(Character aValue)
Set this property to the specified system-supported
Character and
answer this object (facilitates chaining) |
PRIMITIVE |
setPrimitive(SealedPrimitive<?> aValue)
Set this property to the specified primitive
|
PRIMITIVE |
sumOfPrimitive(SealedPrimitive<?> aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value.
|
PRIMITIVE |
xorOfPrimitive(SealedPrimitive<?> 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, clear, clearText, delete, deleteCharAt, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, lowerCase, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, replace, replace, replaceAll, replaceCharacter, replaceFirst, reverse, setCharAt, setLength, setText, textPostDecrement, textPostIncrement, titleCase, trim, upperCase
and, andOfReal, angleWithReal, difference, difference, differenceOfReal, gcd, gcdOfReal, hypotenuseWithReal, mod, mod, modOfReal, or, orOfReal, powerOfReal, product, product, productOfReal, quotient, quotient, quotientOfReal, setReal, sum, sum, sumOfReal, xor, xorOfReal
absoluteValue, and, and, and, and, and, and, andOfNumber, andOfScalar, angleWith, angleWithNumber, angleWithScalar, arcCosine, arcSine, arcTangent, base10Log, ceiling, cosine, cube, cubeRoot, decrement, degrees, difference, difference, difference, difference, difference, difference, difference, difference, differenceOfNumber, differenceOfScalar, down, exponential, exponentialLessOne, floor, gcd, gcd, gcd, gcd, gcd, gcdOfNumber, gcdOfScalar, halfDown, halfEven, halfUp, hyperbolicCosine, hyperbolicSine, hyperbolicTangent, hypotenuseWith, hypotenuseWithNumber, hypotenuseWithScalar, increment, invalidate, inverse, milliseconds, mod, mod, mod, mod, mod, mod, mod, mod, modOfNumber, modOfScalar, nanoseconds, naturalLog, naturalLogPlusOne, negate, not, or, or, or, or, or, or, orOfNumber, orOfScalar, power, power, powerOfNumber, powerOfScalar, product, product, product, product, product, product, product, product, productOfNumber, productOfScalar, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotientOfNumber, quotientOfScalar, radians, random, round, setE, setEnumeration, setMaximum, setMinimum, setNegativeInfinity, setNumber, setPi, setPositiveInfinity, setScalar, setUnity, setZero, shiftLeft, shiftRight, shiftRightExtendZero, sine, square, squareRoot, sum, sum, sum, sum, sum, sum, sum, sum, sumOfNumber, sumOfScalar, tangent, up, xor, xor, xor, xor, xor, xor, xorOfNumber, xorOfScalar
booleanPostDecrement, booleanPostIncrement, setFalse, setScalar, setTrue
bytePostDecrement, bytePostIncrement, setScalar
charPostDecrement, charPostIncrement, setScalar
doublePostDecrement, doublePostIncrement, setScalar
floatPostDecrement, floatPostIncrement, setScalar
intPostDecrement, intPostIncrement, setScalar
longPostDecrement, longPostIncrement, setScalar
setScalar, shortPostDecrement, shortPostIncrement
assertPrecision, promoteTo
assertDomain, clear, clearContents
setReal, unlimitedIntegerPostDecrement, unlimitedIntegerPostIncrement
setReal, unlimitedDecimalPostDecrement, unlimitedDecimalPostIncrement
PRIMITIVE andOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE angleWithPrimitive(SealedPrimitive<?> y) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
y
- a y coordinate valueUnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the new value was incommensurate with this object's
specificationArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this objectMath.atan2(double, double)
PRIMITIVE differenceOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE hypotenuseWithPrimitive(SealedPrimitive<?> y) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
y
- a y valueUnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the new value was incommensurate with this object's
specificationArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this objectMath.hypot(double, double)
PRIMITIVE modOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE orOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE powerOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
aValue
- an exponentUnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the new value was incommensurate with this object's
specificationArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this objectPRIMITIVE productOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE quotientOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE setBoolean(Boolean aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
Boolean
and
answer this object (facilitates chaining)aValue
- a system-supported Boolean
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
valuesPRIMITIVE setCharacter(Character aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
Character
and
answer this object (facilitates chaining)aValue
- a system-supported Character
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
valuesPRIMITIVE setPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException, NullPointerException
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
valuesPRIMITIVE sumOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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 objectPRIMITIVE xorOfPrimitive(SealedPrimitive<?> aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
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.