Package proguard.evaluation.value
Class CompositeFloatValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.FloatValue
-
- proguard.evaluation.value.SpecificFloatValue
-
- proguard.evaluation.value.CompositeFloatValue
-
public final class CompositeFloatValue extends SpecificFloatValue
ThisFloatValue
represents the result of a binary operation on two float 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 CompositeFloatValue(FloatValue floatValue1, byte operation, FloatValue floatValue2)
Creates a new composite float value of the two given float 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.SpecificFloatValue
add, add, compare, compare, convertToDouble, 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.FloatValue
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, floatValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, value
-
Methods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, 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
-
CompositeFloatValue
public CompositeFloatValue(FloatValue floatValue1, byte operation, FloatValue floatValue2)
Creates a new composite float value of the two given float values and the given operation.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classSpecificFloatValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSpecificFloatValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-