public final class NegatedDoubleValue extends SpecificDoubleValue
DoubleValue
represents a double value that is negated.ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Constructor and Description |
---|
NegatedDoubleValue(DoubleValue doubleValue)
Creates a new negated double value of the given double value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
DoubleValue |
negate()
Returns the negated value of this DoubleValue.
|
java.lang.String |
toString() |
add, add, compare, compare, convertToFloat, convertToInteger, convertToLong, divide, divide, divideOf, divideOf, generalize, generalize, isSpecific, multiply, multiply, remainder, remainder, remainderOf, remainderOf, subtract, subtract, subtractFrom, subtractFrom
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, doubleValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, value
category2Value, isCategory2
category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValue
public NegatedDoubleValue(DoubleValue doubleValue)
public DoubleValue negate()
DoubleValue
negate
in class SpecificDoubleValue
public boolean equals(java.lang.Object object)
equals
in class SpecificDoubleValue
public int hashCode()
hashCode
in class SpecificDoubleValue
public java.lang.String toString()
toString
in class java.lang.Object