public final class FloatPrimitive extends AbstractFloatPrimitive<FloatPrimitive>
float precision primitive implementationNaN, ONEI, ZERO_DOUBLE_LONG_BITS, ZERO_FLOAT_INT_BITS, ZEROI| Constructor and Description |
|---|
FloatPrimitive() |
FloatPrimitive(BigDecimal aValue) |
FloatPrimitive(BigInteger aValue) |
FloatPrimitive(boolean aValue) |
FloatPrimitive(byte aValue) |
FloatPrimitive(char aValue) |
FloatPrimitive(double aValue) |
FloatPrimitive(float aValue) |
FloatPrimitive(int aValue) |
FloatPrimitive(long aValue) |
FloatPrimitive(SealedScalar<?> aValue) |
FloatPrimitive(short aValue) |
FloatPrimitive(String aValue) |
| Modifier and Type | Method and Description |
|---|---|
FloatPrimitive |
copy()
Produce a replica of this object
|
FloatPrimitive |
copyUsing(float aValue)
Using this object as a factory, produce a new scalar of an
appropriately matching type but initialized with the value specified
|
FloatPrimitive |
decrement()
Replace the current value with the current value minus unity (one)
|
FloatPrimitive |
difference(float aValue)
Set the value of this scalar to the mathematical difference
between its current value and the specified value
|
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() |
ConcurrencyStrategy |
getConcurrency() |
FloatPrimitive |
increment()
Replace the current value with the current value plus unity (one)
|
FloatPrimitive |
mod(float aValue)
Set the value of this scalar to its current value modulo of the
specified value
|
FloatPrimitive |
product(float aValue)
Set the value of this scalar to the mathematical product of its
current value and the specified value
|
FloatPrimitive |
quotient(float aValue)
Set the value of this scalar to the mathematical quotient of its
current value and the specified value
|
FloatPrimitive |
setScalar(float aValue)
Set this property to the specified
float value and answer this
object (facilitates chaining) |
FloatPrimitive |
sum(float aValue)
Set the value of this scalar to the mathematical sum of its
current value and the specified value
|
absoluteValue, and, and, and, and, and, and, and, booleanPostDecrement, booleanPostIncrement, booleanValue, bytePostDecrement, bytePostIncrement, byteValue, charPostDecrement, charPostIncrement, charValue, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsingPrimitive, copyUsingReal, copyUsingScalar, cube, difference, difference, difference, difference, difference, difference, difference, difference, doublePostDecrement, doublePostIncrement, doubleValue, inducePostDecrement, inducePostIncrement, induceRealMaximum, induceRealMinimum, induceRealValue, induceScalarMaximum, induceScalarMinimum, induceScalarValue, intPostDecrement, intPostIncrement, intValue, invalidate, inverse, isInfinity, isInvalid, isMaximum, isMinimum, isModulo, isNegative, isNegativeFinite, isNegativeInfinity, isPositive, isPositiveFinite, isPositiveInfinity, isReal, isUnity, isZero, longPostDecrement, longPostIncrement, longValue, negate, not, or, or, or, or, or, or, or, product, product, product, product, product, product, product, product, quotient, quotient, quotient, quotient, quotient, quotient, quotient, quotient, round, setMaximum, setMinimum, setNegativeInfinity, setNumber, setPositiveInfinity, setPrimitive, setReal, setReal, setReal, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setScalar, setUnity, setZero, shiftLeft, shiftRight, shiftRightExtendZero, shortPostDecrement, shortPostIncrement, shortValue, signum, square, sum, sum, sum, sum, sum, sum, sum, sum, swapPrimitives, toNumber, toString, toUnlimitedDecimal, toUnlimitedInteger, unlimitedDecimalPostDecrement, unlimitedDecimalPostIncrement, unlimitedIntegerPostDecrement, unlimitedIntegerPostIncrement, xor, xor, xor, xor, xor, xor, xorappend, 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, getStructureStrategy, 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, lowerCase, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, prepend, replace, replace, replaceAll, replaceCharacter, replaceFirst, reverse, setBoolean, setCharacter, setCharAt, setLength, setText, subSequence, substring, substring, textPostDecrement, textPostIncrement, titleCase, toPrimitive, toPrimitive, trim, upperCaseandOfPrimitive, angleWithPrimitive, compareToText, differenceOfPrimitive, hypotenuseWithPrimitive, inducePrimitiveMaximum, inducePrimitiveMinimum, induceTextSize, modOfPrimitive, orOfPrimitive, powerOfPrimitive, productOfPrimitive, quotientOfPrimitive, sumOfPrimitive, toPrimitive, xorOfPrimitiveandOfNumber, 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, orOfNumber, orOfReal, powerOfReal, productOfNumber, productOfReal, quotientOfNumber, quotientOfReal, sumOfNumber, sumOfReal, toReal, unlimitedIntegerModularInverse, xorOfNumber, xorOfRealandOfScalar, 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, difference, 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, isDigit, isElastic, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqual, isEqualToScalar, isExpandable, isFalse, isFinite, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToScalar, isGreaterThanScalar, isHighSurrogate, isIdentifierIgnorable, isIdeographic, isImaginary, isISOControl, isJavaIdentifierPart, isJavaIdentifierStart, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqual, isLessOrEqualToScalar, isLessThanScalar, isLetter, isLetterOrDigit, isLowerCase, isLowSurrogate, isMirrored, isMutable, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqual, isNotEqualToScalar, isOrdered, isReducible, isSupplementaryCodePoint, isSurrogate, isTitleCase, isTrue, isUnicode, isUnicodeIdentifierPart, isUnicodeIdentifierStart, isUnique, isUpperCase, isValid, isValidCodePoint, isWhitespace, longGCD, longMaskAt, longModularInverse, longModularQuotient, longNotMaskAt, longSize, longValue, milliseconds, mod, mod, mod, mod, mod, mod, mod, modOfScalar, nanoseconds, naturalLog, naturalLogPlusOne, orOfScalar, power, power, powerOfNumber, powerOfScalar, product, productOfScalar, promoteTo, quotient, quotientOfScalar, radians, random, setByteBitAt, setCharBitAt, setDoubleBitAt, setE, setEnumeration, setFalse, setFloatBitAt, setIntBitAt, setLongBitAt, setPi, setShortBitAt, setTrue, setUnlimitedDecimalBitAt, setUnlimitedIntegerBitAt, shortMaskAt, shortNotMaskAt, shortValue, sine, size, squareRoot, sum, sumOfScalar, tangent, toBoolean, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toBooleanArray, toByteArray, toCharacter, toCodePoint, toEnumeration, toScalar, toUnlimitedInteger, unlimitedIntegerMaskAt, unlimitedIntegerNotMaskAt, up, xorOfScalarclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareToReal, compareToReal, compareToReal, isEqual, isEqual, isEqualToReal, isGreater, isGreater, isGreaterOrEqual, isGreaterOrEqual, isGreaterOrEqualToReal, isGreaterThanReal, isLess, isLess, isLessOrEqual, isLessOrEqual, isLessOrEqualToReal, isLessThanReal, isNotEqual, isNotEqual, isNotEqualToRealcompareToNumber, 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, toEnumerationhashCodeisFinite, isImaginary, isValidisAlphabetic, isBmpCodePoint, isDigit, isHighSurrogate, isIdentifierIgnorable, isIdeographic, isISOControl, isJavaIdentifierPart, isJavaIdentifierStart, isLetter, isLetterOrDigit, isLowerCase, isLowSurrogate, isMirrored, isSupplementaryCodePoint, isSurrogate, isTitleCase, isUnicode, isUnicodeIdentifierPart, isUnicodeIdentifierStart, isUpperCase, isValidCodePoint, isWhitespacegetPrecisioninduceRealSizeinduceScalarSizegetDomain, longSize, sizeisConfigurable, isCountable, isElastic, isExpandable, isOrdered, isReducible, isUniquetoRealtoScalarandOfReal, angleWithReal, differenceOfReal, gcd, gcdOfReal, hypotenuseWithReal, mod, mod, modOfReal, orOfReal, powerOfReal, productOfReal, quotientOfReal, sumOfReal, xorOfRealandOfNumber, andOfScalar, angleWith, angleWithNumber, angleWithScalar, arcCosine, arcSine, arcTangent, base10Log, ceiling, cosine, cubeRoot, degrees, difference, 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, orOfNumber, orOfScalar, power, power, powerOfNumber, powerOfScalar, product, productOfNumber, productOfScalar, quotient, quotientOfNumber, quotientOfScalar, radians, random, setE, setEnumeration, setPi, sine, squareRoot, sum, sumOfNumber, sumOfScalar, tangent, up, xorOfNumber, xorOfScalarsetFalse, setTrueassertPrecision, promoteToassertDomainpublic FloatPrimitive()
public FloatPrimitive(BigDecimal aValue)
public FloatPrimitive(BigInteger aValue)
public FloatPrimitive(boolean aValue)
public FloatPrimitive(byte aValue)
public FloatPrimitive(char aValue)
public FloatPrimitive(double aValue)
public FloatPrimitive(float aValue)
public FloatPrimitive(int aValue)
public FloatPrimitive(long aValue)
public FloatPrimitive(SealedScalar<?> aValue)
public FloatPrimitive(short aValue)
public FloatPrimitive(String aValue)
public final FloatPrimitive copy()
Replicatorpublic final FloatPrimitive copyUsing(float aValue)
ScalarReplicatoraValue - a new valuepublic FloatPrimitive decrement() throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarUnsupportedOperationException - 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 FloatPrimitive difference(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalardifference in interface MutableScalar<FloatPrimitive>difference in class AbstractScalar<FloatPrimitive>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 float floatPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableFloatValueUnsupportedOperationException - 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 float floatPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableFloatValueUnsupportedOperationException - 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 SealedFloatValuefloatValue in class Numberfloatpublic final ConcurrencyStrategy getConcurrency()
public FloatPrimitive increment() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
MutableScalarUnsupportedOperationException - 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 FloatPrimitive mod(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarmod in interface MutableScalar<FloatPrimitive>mod in class AbstractScalar<FloatPrimitive>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 FloatPrimitive product(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarproduct in interface MutableScalar<FloatPrimitive>product in class AbstractScalar<FloatPrimitive>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 FloatPrimitive quotient(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarquotient in interface MutableScalar<FloatPrimitive>quotient in class AbstractScalar<FloatPrimitive>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 FloatPrimitive setScalar(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableFloatValuefloat 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 FloatPrimitive sum(float aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
MutableScalarsum in interface MutableScalar<FloatPrimitive>sum in class AbstractScalar<FloatPrimitive>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 objectCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.