public abstract class SpecificDoubleValue extends DoubleValue
DoubleValue represents a specific double value.ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN| Constructor and Description |
|---|
SpecificDoubleValue() |
| Modifier and Type | Method and Description |
|---|---|
DoubleValue |
add(DoubleValue other)
Returns the sum of this DoubleValue and the given DoubleValue.
|
DoubleValue |
add(SpecificDoubleValue other)
Returns the sum of this DoubleValue and the given SpecificDoubleValue.
|
IntegerValue |
compare(DoubleValue other)
Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is
less than, equal to, or greater than the given DoubleValue, respectively.
|
IntegerValue |
compare(SpecificDoubleValue other)
Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is
less than, equal to, or greater than the given SpecificDoubleValue,
respectively.
|
FloatValue |
convertToFloat()
Converts this DoubleValue to a FloatValue.
|
IntegerValue |
convertToInteger()
Converts this DoubleValue to an IntegerValue.
|
LongValue |
convertToLong()
Converts this DoubleValue to a LongValue.
|
DoubleValue |
divide(DoubleValue other)
Returns the quotient of this DoubleValue and the given DoubleValue.
|
DoubleValue |
divide(SpecificDoubleValue other)
Returns the quotient of this DoubleValue and the given SpecificDoubleValue.
|
DoubleValue |
divideOf(DoubleValue other)
Returns the quotient of the given DoubleValue and this DoubleValue.
|
DoubleValue |
divideOf(SpecificDoubleValue other)
Returns the quotient of the given SpecificDoubleValue and this
DoubleValue.
|
boolean |
equals(java.lang.Object object) |
DoubleValue |
generalize(DoubleValue other)
Returns the generalization of this DoubleValue and the given other
DoubleValue.
|
DoubleValue |
generalize(SpecificDoubleValue other)
Returns the generalization of this DoubleValue and the given other
SpecificDoubleValue.
|
int |
hashCode() |
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly
unknown) value.
|
DoubleValue |
multiply(DoubleValue other)
Returns the product of this DoubleValue and the given DoubleValue.
|
DoubleValue |
multiply(SpecificDoubleValue other)
Returns the product of this DoubleValue and the given SpecificDoubleValue.
|
DoubleValue |
negate()
Returns the negated value of this DoubleValue.
|
DoubleValue |
remainder(DoubleValue other)
Returns the remainder of this DoubleValue divided by the given DoubleValue.
|
DoubleValue |
remainder(SpecificDoubleValue other)
Returns the remainder of this DoubleValue divided by the given
SpecificDoubleValue.
|
DoubleValue |
remainderOf(DoubleValue other)
Returns the remainder of the given DoubleValue divided by this DoubleValue.
|
DoubleValue |
remainderOf(SpecificDoubleValue other)
Returns the remainder of the given SpecificDoubleValue and this
DoubleValue.
|
DoubleValue |
subtract(DoubleValue other)
Returns the difference of this DoubleValue and the given DoubleValue.
|
DoubleValue |
subtract(SpecificDoubleValue other)
Returns the difference of this DoubleValue and the given SpecificDoubleValue.
|
DoubleValue |
subtractFrom(DoubleValue other)
Returns the difference of the given DoubleValue and this DoubleValue.
|
DoubleValue |
subtractFrom(SpecificDoubleValue other)
Returns the difference of the given SpecificDoubleValue and this DoubleValue.
|
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, doubleValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, valuecategory2Value, isCategory2category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValuepublic DoubleValue negate()
DoubleValuenegate in class DoubleValuepublic IntegerValue convertToInteger()
DoubleValueconvertToInteger in class DoubleValuepublic LongValue convertToLong()
DoubleValueconvertToLong in class DoubleValuepublic FloatValue convertToFloat()
DoubleValueconvertToFloat in class DoubleValuepublic DoubleValue generalize(DoubleValue other)
DoubleValuegeneralize in class DoubleValuepublic DoubleValue add(DoubleValue other)
DoubleValueadd in class DoubleValuepublic DoubleValue subtract(DoubleValue other)
DoubleValuesubtract in class DoubleValuepublic DoubleValue subtractFrom(DoubleValue other)
DoubleValuesubtractFrom in class DoubleValuepublic DoubleValue multiply(DoubleValue other)
DoubleValuemultiply in class DoubleValuepublic DoubleValue divide(DoubleValue other)
DoubleValuedivide in class DoubleValuepublic DoubleValue divideOf(DoubleValue other)
DoubleValuedivideOf in class DoubleValuepublic DoubleValue remainder(DoubleValue other)
DoubleValueremainder in class DoubleValuepublic DoubleValue remainderOf(DoubleValue other)
DoubleValueremainderOf in class DoubleValuepublic IntegerValue compare(DoubleValue other)
DoubleValuecompare in class DoubleValuepublic DoubleValue generalize(SpecificDoubleValue other)
DoubleValuegeneralize in class DoubleValuepublic DoubleValue add(SpecificDoubleValue other)
DoubleValueadd in class DoubleValuepublic DoubleValue subtract(SpecificDoubleValue other)
DoubleValuesubtract in class DoubleValuepublic DoubleValue subtractFrom(SpecificDoubleValue other)
DoubleValuesubtractFrom in class DoubleValuepublic DoubleValue multiply(SpecificDoubleValue other)
DoubleValuemultiply in class DoubleValuepublic DoubleValue divide(SpecificDoubleValue other)
DoubleValuedivide in class DoubleValuepublic DoubleValue divideOf(SpecificDoubleValue other)
DoubleValuedivideOf in class DoubleValuepublic DoubleValue remainder(SpecificDoubleValue other)
DoubleValueremainder in class DoubleValuepublic DoubleValue remainderOf(SpecificDoubleValue other)
DoubleValueremainderOf in class DoubleValuepublic IntegerValue compare(SpecificDoubleValue other)
DoubleValuecompare in class DoubleValuepublic boolean isSpecific()
ValueisSpecific in class Valuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object