public final class FloatValue extends ContinuousValue<FloatValue>
Constructor and Description |
---|
FloatValue() |
FloatValue(java.lang.Number value) |
FloatValue(Value<?> value) |
compareTo, getExponentiated, getModulus, getMultiplied, getReciprocal, getRoot, getSquared, getSquareRoot, getValue, invalidations, maximum, minimum, postUpdate, unitInTheLastPlaceLarger, unitInTheLastPlaceSmaller, update
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getSubtracted
getNegated
getDivided, getDivided, getDivided, getDivided, getDivided, getMultiplied, getMultiplied, getMultiplied, getMultiplied
getDecremented, getIncremented
decoupleValue
anonymize, immutable, over, over
public FloatValue()
public FloatValue(Value<?> value)
public FloatValue(java.lang.Number value)
public final FloatValue reciprocate()
reciprocate
in class Value<FloatValue>
public final FloatValue add(Value<?> value)
Addable
value
- the value to add to thispublic final FloatValue negate()
negate
in interface Negatable<FloatValue,FloatValue>
negate
in class Value<FloatValue>
public final FloatValue multiply(int value)
public final FloatValue multiply(long value)
public final FloatValue multiply(float value)
public final FloatValue multiply(double value)
public final FloatValue multiply(Value<?> value)
multiply
in interface Multipliable<FloatValue,Value<?>>
multiply
in interface Scalable<FloatValue>
multiply
in class Value<FloatValue>
public final FloatValue divide(int value)
public final FloatValue divide(long value)
public final FloatValue divide(float value)
public final FloatValue divide(double value)
public final FloatValue divide(Value<?> value)
divide
in interface Scalable<FloatValue>
divide
in class Value<FloatValue>
public final FloatValue subtract(Value<?> value)
Subtractable
value
- the value to add to the copypublic final double doubleValue()
doubleValue
in class Value<FloatValue>
public final float floatValue()
floatValue
in class Value<FloatValue>
public final int intValue()
intValue
in class Value<FloatValue>
public final long longValue()
longValue
in class Value<FloatValue>
public final java.lang.String toString()
toString
in class Value<FloatValue>
public final FloatValue setValue(java.lang.Number value)
setValue
in class Value<FloatValue>
public final int compareToAtSupportedPrecision(Value<?> other)
compareToAtSupportedPrecision
in class Value<FloatValue>
public final boolean equals(java.lang.Object that)
equals
in class Value<FloatValue>
protected final boolean equals(Value<?> that)
equals
in class Value<FloatValue>
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(double value)
equals
in class Value<FloatValue>
public final boolean equals(float value)
equals
in class Value<FloatValue>
public final boolean equals(int value)
equals
in class Value<FloatValue>
public final boolean equals(long value)
equals
in class Value<FloatValue>
public final FloatValue increment()
public final FloatValue decrement()
public final FloatValue copy()
public final FloatValue unitInTheLastPlaceAbove()
unitInTheLastPlaceAbove
in class Value<FloatValue>
public final FloatValue unitInTheLastPlaceBelow()
unitInTheLastPlaceBelow
in class Value<FloatValue>
public final int getMultipliedPrimitive(int value)
getMultipliedPrimitive
in class Value<FloatValue>
public final long getMultipliedPrimitive(long value)
getMultipliedPrimitive
in class Value<FloatValue>
public final float getMultipliedPrimitive(float value)
getMultipliedPrimitive
in class Value<FloatValue>
public final double getMultipliedPrimitive(double value)
getMultipliedPrimitive
in class Value<FloatValue>
public final int getDividedPrimitive(int value)
getDividedPrimitive
in class Value<FloatValue>
public final long getDividedPrimitive(long value)
getDividedPrimitive
in class Value<FloatValue>
public final float getDividedPrimitive(float value)
getDividedPrimitive
in class Value<FloatValue>
public final double getDividedPrimitive(double value)
getDividedPrimitive
in class Value<FloatValue>
public FloatValue square()
square
in class Value<FloatValue>
public FloatValue squareRoot()
squareRoot
in class Value<FloatValue>
public FloatValue exponentiate(Value<?> exponential)
exponentiate
in class Value<FloatValue>
public FloatValue root(Value<?> root)
root
in class Value<FloatValue>
public FloatValue modulus()
modulus
in class Value<FloatValue>