Package proguard.evaluation.value
Class NegatedDoubleValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.DoubleValue
-
- proguard.evaluation.value.SpecificDoubleValue
-
- proguard.evaluation.value.NegatedDoubleValue
-
public final class NegatedDoubleValue extends SpecificDoubleValue
ThisDoubleValue
represents a double value that is negated.
-
-
Field Summary
-
Fields inherited from class proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description NegatedDoubleValue(DoubleValue doubleValue)
Creates a new negated double value of the given double value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
DoubleValue
negate()
Returns the negated value of this DoubleValue.java.lang.String
toString()
-
Methods inherited from class proguard.evaluation.value.SpecificDoubleValue
add, add, compare, compare, convertToFloat, convertToInteger, convertToLong, divide, divide, divideOf, divideOf, generalize, generalize, isSpecific, multiply, multiply, remainder, remainder, remainderOf, remainderOf, subtract, subtract, subtractFrom, subtractFrom
-
Methods inherited from class proguard.evaluation.value.DoubleValue
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, doubleValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, value
-
Methods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValue
-
-
-
-
Constructor Detail
-
NegatedDoubleValue
public NegatedDoubleValue(DoubleValue doubleValue)
Creates a new negated double value of the given double value.
-
-
Method Detail
-
negate
public DoubleValue negate()
Description copied from class:DoubleValue
Returns the negated value of this DoubleValue.- Overrides:
negate
in classSpecificDoubleValue
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classSpecificDoubleValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSpecificDoubleValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-