public abstract class SpecificFloatValue extends FloatValue
FloatValue
represents a specific float value.ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Constructor and Description |
---|
SpecificFloatValue() |
Modifier and Type | Method and Description |
---|---|
FloatValue |
add(FloatValue other)
Returns the sum of this FloatValue and the given FloatValue.
|
FloatValue |
add(SpecificFloatValue other)
Returns the sum of this FloatValue and the given SpecificFloatValue.
|
IntegerValue |
compare(FloatValue other)
Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or
greater than the given FloatValue, respectively.
|
IntegerValue |
compare(SpecificFloatValue other)
Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or
greater than the given SpecificFloatValue, respectively.
|
DoubleValue |
convertToDouble()
Converts this FloatValue to a DoubleValue.
|
IntegerValue |
convertToInteger()
Converts this FloatValue to an IntegerValue.
|
LongValue |
convertToLong()
Converts this FloatValue to a LongValue.
|
FloatValue |
divide(FloatValue other)
Returns the quotient of this FloatValue and the given FloatValue.
|
FloatValue |
divide(SpecificFloatValue other)
Returns the quotient of this FloatValue and the given SpecificFloatValue.
|
FloatValue |
divideOf(FloatValue other)
Returns the quotient of the given FloatValue and this FloatValue.
|
FloatValue |
divideOf(SpecificFloatValue other)
Returns the quotient of the given SpecificFloatValue and this FloatValue.
|
boolean |
equals(java.lang.Object object) |
FloatValue |
generalize(FloatValue other)
Returns the generalization of this FloatValue and the given other FloatValue.
|
FloatValue |
generalize(SpecificFloatValue other)
Returns the generalization of this FloatValue and the given other SpecificFloatValue.
|
int |
hashCode() |
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly unknown) value.
|
FloatValue |
multiply(FloatValue other)
Returns the product of this FloatValue and the given FloatValue.
|
FloatValue |
multiply(SpecificFloatValue other)
Returns the product of this FloatValue and the given SpecificFloatValue.
|
FloatValue |
negate()
Returns the negated value of this FloatValue.
|
FloatValue |
remainder(FloatValue other)
Returns the remainder of this FloatValue divided by the given FloatValue.
|
FloatValue |
remainder(SpecificFloatValue other)
Returns the remainder of this FloatValue divided by the given SpecificFloatValue.
|
FloatValue |
remainderOf(FloatValue other)
Returns the remainder of the given FloatValue divided by this FloatValue.
|
FloatValue |
remainderOf(SpecificFloatValue other)
Returns the remainder of the given SpecificFloatValue and this FloatValue.
|
FloatValue |
subtract(FloatValue other)
Returns the difference of this FloatValue and the given FloatValue.
|
FloatValue |
subtract(SpecificFloatValue other)
Returns the difference of this FloatValue and the given SpecificFloatValue.
|
FloatValue |
subtractFrom(FloatValue other)
Returns the difference of the given FloatValue and this FloatValue.
|
FloatValue |
subtractFrom(SpecificFloatValue other)
Returns the difference of the given SpecificFloatValue and this FloatValue.
|
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, floatValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, value
category1Value, isCategory2
category2Value, copyIfMutable, doubleValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValue
public FloatValue negate()
FloatValue
negate
in class FloatValue
public IntegerValue convertToInteger()
FloatValue
convertToInteger
in class FloatValue
public LongValue convertToLong()
FloatValue
convertToLong
in class FloatValue
public DoubleValue convertToDouble()
FloatValue
convertToDouble
in class FloatValue
public FloatValue generalize(FloatValue other)
FloatValue
generalize
in class FloatValue
public FloatValue add(FloatValue other)
FloatValue
add
in class FloatValue
public FloatValue subtract(FloatValue other)
FloatValue
subtract
in class FloatValue
public FloatValue subtractFrom(FloatValue other)
FloatValue
subtractFrom
in class FloatValue
public FloatValue multiply(FloatValue other)
FloatValue
multiply
in class FloatValue
public FloatValue divide(FloatValue other)
FloatValue
divide
in class FloatValue
public FloatValue divideOf(FloatValue other)
FloatValue
divideOf
in class FloatValue
public FloatValue remainder(FloatValue other)
FloatValue
remainder
in class FloatValue
public FloatValue remainderOf(FloatValue other)
FloatValue
remainderOf
in class FloatValue
public IntegerValue compare(FloatValue other)
FloatValue
compare
in class FloatValue
public FloatValue generalize(SpecificFloatValue other)
FloatValue
generalize
in class FloatValue
public FloatValue add(SpecificFloatValue other)
FloatValue
add
in class FloatValue
public FloatValue subtract(SpecificFloatValue other)
FloatValue
subtract
in class FloatValue
public FloatValue subtractFrom(SpecificFloatValue other)
FloatValue
subtractFrom
in class FloatValue
public FloatValue multiply(SpecificFloatValue other)
FloatValue
multiply
in class FloatValue
public FloatValue divide(SpecificFloatValue other)
FloatValue
divide
in class FloatValue
public FloatValue divideOf(SpecificFloatValue other)
FloatValue
divideOf
in class FloatValue
public FloatValue remainder(SpecificFloatValue other)
FloatValue
remainder
in class FloatValue
public FloatValue remainderOf(SpecificFloatValue other)
FloatValue
remainderOf
in class FloatValue
public IntegerValue compare(SpecificFloatValue other)
FloatValue
compare
in class FloatValue
public boolean isSpecific()
Value
isSpecific
in class Value
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object