Package proguard.evaluation.value
Class NegatedFloatValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.FloatValue
-
- proguard.evaluation.value.SpecificFloatValue
-
- proguard.evaluation.value.NegatedFloatValue
-
public final class NegatedFloatValue extends SpecificFloatValue
ThisFloatValue
represents a float 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 NegatedFloatValue(FloatValue floatValue)
Creates a new negated float value of the given float value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
FloatValue
negate()
Returns the negated value of this FloatValue.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, 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
-
-
-
-
Constructor Detail
-
NegatedFloatValue
public NegatedFloatValue(FloatValue floatValue)
Creates a new negated float value of the given float value.
-
-
Method Detail
-
negate
public FloatValue negate()
Description copied from class:FloatValue
Returns the negated value of this FloatValue.- Overrides:
negate
in classSpecificFloatValue
-
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
-
-