|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.optimize.evaluation.value.Value
proguard.optimize.evaluation.value.Category1Value
proguard.optimize.evaluation.value.FloatValue
This class represents a partially evaluated float value.
| Field Summary |
| Fields inherited from class proguard.optimize.evaluation.value.Value |
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE |
| Constructor Summary | |
FloatValue()
|
|
| Method Summary | |
FloatValue |
add(FloatValue other)
Returns the sum of this FloatValue and the given FloatValue. |
FloatValue |
add(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the sum of this FloatValue and the given SpecificFloatValue. |
proguard.optimize.evaluation.value.Category1Value |
category1Value()
Returns this Value as a Category1Value. |
IntegerValue |
compare(FloatValue other)
Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given FloatValue, respectively. |
IntegerValue |
compare(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given SpecificFloatValue, respectively. |
IntegerValue |
compareReverse(FloatValue other)
Returns an IntegerValue with value 1, 0, or -1, if this FloatValue is less than, equal to, or greater than the given FloatValue, respectively. |
IntegerValue |
compareReverse(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns an IntegerValue with value 1, 0, or -1, if this FloatValue is less than, equal to, or greater than the given SpecificFloatValue, respectively. |
int |
computationalType()
Returns the computational type of this Value. |
DoubleValue |
convertToDouble()
Converts this FloatValue to a DoubleValue. |
IntegerValue |
convertToInteger()
Converts this FloatValue to an IntegerValue. |
LongValue |
convertToLong()
Converts this FloatValue to a LongValue. |
FloatValue |
divide(FloatValue other)
Returns the quotient of this FloatValue and the given FloatValue. |
FloatValue |
divide(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the quotient of this FloatValue and the given SpecificFloatValue. |
FloatValue |
divideOf(FloatValue other)
Returns the quotient of the given FloatValue and this FloatValue. |
FloatValue |
divideOf(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the quotient of the given SpecificFloatValue and this FloatValue. |
boolean |
equals(Object object)
|
FloatValue |
floatValue()
Returns this Value as a FloatValue. |
FloatValue |
generalize(FloatValue other)
Returns the generalization of this FloatValue and the given other FloatValue. |
FloatValue |
generalize(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the generalization of this FloatValue and the given other SpecificFloatValue. |
Value |
generalize(Value other)
Returns the generalization of this Value and the given other Value. |
int |
hashCode()
|
boolean |
isCategory2()
Returns whether the computational type of this Value is a category 2 type. |
FloatValue |
multiply(FloatValue other)
Returns the product of this FloatValue and the given FloatValue. |
FloatValue |
multiply(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the product of this FloatValue and the given SpecificFloatValue. |
FloatValue |
negate()
Returns the negated value of this FloatValue. |
FloatValue |
remainder(FloatValue other)
Returns the remainder of this FloatValue divided by the given FloatValue. |
FloatValue |
remainder(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the remainder of this FloatValue divided by the given SpecificFloatValue. |
FloatValue |
remainderOf(FloatValue other)
Returns the remainder of the given FloatValue divided by this FloatValue. |
FloatValue |
remainderOf(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the remainder of the given SpecificFloatValue and this FloatValue. |
FloatValue |
subtract(FloatValue other)
Returns the difference of this FloatValue and the given FloatValue. |
FloatValue |
subtract(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the difference of this FloatValue and the given SpecificFloatValue. |
FloatValue |
subtractFrom(FloatValue other)
Returns the difference of the given FloatValue and this FloatValue. |
FloatValue |
subtractFrom(proguard.optimize.evaluation.value.SpecificFloatValue other)
Returns the difference of the given SpecificFloatValue and this FloatValue. |
String |
toString()
|
float |
value()
Returns the specific float value, if applicable. |
| Methods inherited from class proguard.optimize.evaluation.value.Value |
category2Value, doubleValue, instructionOffsetValue, integerValue, isSpecific, longValue, referenceValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FloatValue()
| Method Detail |
public float value()
public FloatValue generalize(FloatValue other)
public FloatValue add(FloatValue other)
public FloatValue subtract(FloatValue other)
public FloatValue subtractFrom(FloatValue other)
public FloatValue multiply(FloatValue other)
public FloatValue divide(FloatValue other)
public FloatValue divideOf(FloatValue other)
public FloatValue remainder(FloatValue other)
public FloatValue remainderOf(FloatValue other)
public IntegerValue compare(FloatValue other)
public final IntegerValue compareReverse(FloatValue other)
public FloatValue negate()
public IntegerValue convertToInteger()
public LongValue convertToLong()
public DoubleValue convertToDouble()
public FloatValue generalize(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue add(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue subtract(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue subtractFrom(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue multiply(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue divide(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue divideOf(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue remainder(proguard.optimize.evaluation.value.SpecificFloatValue other)
public FloatValue remainderOf(proguard.optimize.evaluation.value.SpecificFloatValue other)
public IntegerValue compare(proguard.optimize.evaluation.value.SpecificFloatValue other)
public final IntegerValue compareReverse(proguard.optimize.evaluation.value.SpecificFloatValue other)
public final FloatValue floatValue()
Value
floatValue in class Valuepublic final Value generalize(Value other)
Value
generalize in class Valuepublic final int computationalType()
ValueTYPE_INTEGER
TYPE_LONG
TYPE_FLOAT
TYPE_DOUBLE
TYPE_REFERENCE
TYPE_INSTRUCTION_OFFSET
computationalType in class Valuepublic boolean equals(Object object)
public int hashCode()
public String toString()
public final proguard.optimize.evaluation.value.Category1Value category1Value()
Value
category1Value in class Valuepublic final boolean isCategory2()
Value
isCategory2 in class Value
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||