Package proguard.evaluation.value
Class CompositeDoubleValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.DoubleValue
-
- proguard.evaluation.value.SpecificDoubleValue
-
- proguard.evaluation.value.CompositeDoubleValue
-
public final class CompositeDoubleValue extends SpecificDoubleValue
ThisDoubleValue
represents the result of a binary operation on two double values.
-
-
Field Summary
Fields Modifier and Type Field Description static byte
ADD
static byte
DIVIDE
static byte
MULTIPLY
static byte
REMAINDER
static byte
SUBTRACT
-
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 CompositeDoubleValue(DoubleValue doubleValue1, byte operation, DoubleValue doubleValue2)
Creates a new composite double value of the two given double values and the given operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
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, negate, 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
-
-
-
-
Field Detail
-
ADD
public static final byte ADD
- See Also:
- Constant Field Values
-
SUBTRACT
public static final byte SUBTRACT
- See Also:
- Constant Field Values
-
MULTIPLY
public static final byte MULTIPLY
- See Also:
- Constant Field Values
-
DIVIDE
public static final byte DIVIDE
- See Also:
- Constant Field Values
-
REMAINDER
public static final byte REMAINDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompositeDoubleValue
public CompositeDoubleValue(DoubleValue doubleValue1, byte operation, DoubleValue doubleValue2)
Creates a new composite double value of the two given double values and the given operation.
-
-
Method Detail
-
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
-
-