Package proguard.evaluation.value
Class UnknownDoubleValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.DoubleValue
-
- proguard.evaluation.value.UnknownDoubleValue
-
public class UnknownDoubleValue extends DoubleValue
DoubleValuethat is unknown.
-
-
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 UnknownDoubleValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleValueadd(DoubleValue other)Returns the sum of this DoubleValue and the given DoubleValue.IntegerValuecompare(DoubleValue other)Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is less than, equal to, or greater than the given DoubleValue, respectively.FloatValueconvertToFloat()Converts this DoubleValue to a FloatValue.IntegerValueconvertToInteger()Converts this DoubleValue to an IntegerValue.LongValueconvertToLong()Converts this DoubleValue to a LongValue.DoubleValuedivide(DoubleValue other)Returns the quotient of this DoubleValue and the given DoubleValue.DoubleValuedivideOf(DoubleValue other)Returns the quotient of the given DoubleValue and this DoubleValue.booleanequals(java.lang.Object object)DoubleValuegeneralize(DoubleValue other)Returns the generalization of this DoubleValue and the given other DoubleValue.inthashCode()DoubleValuemultiply(DoubleValue other)Returns the product of this DoubleValue and the given DoubleValue.DoubleValuenegate()Returns the negated value of this DoubleValue.DoubleValueremainder(DoubleValue other)Returns the remainder of this DoubleValue divided by the given DoubleValue.DoubleValueremainderOf(DoubleValue other)Returns the remainder of the given DoubleValue divided by this DoubleValue.DoubleValuesubtract(DoubleValue other)Returns the difference of this DoubleValue and the given DoubleValue.DoubleValuesubtractFrom(DoubleValue other)Returns the difference of the given DoubleValue and this DoubleValue.java.lang.StringtoString()-
Methods inherited from class proguard.evaluation.value.DoubleValue
add, add, compare, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divide, divideOf, divideOf, doubleValue, generalize, generalize, generalize, internalType, multiply, multiply, remainder, remainder, remainderOf, remainderOf, subtract, subtract, subtractFrom, 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, isSpecific, longValue, referenceValue
-
-
-
-
Method Detail
-
negate
public DoubleValue negate()
Description copied from class:DoubleValueReturns the negated value of this DoubleValue.- Specified by:
negatein classDoubleValue
-
convertToInteger
public IntegerValue convertToInteger()
Description copied from class:DoubleValueConverts this DoubleValue to an IntegerValue.- Specified by:
convertToIntegerin classDoubleValue
-
convertToLong
public LongValue convertToLong()
Description copied from class:DoubleValueConverts this DoubleValue to a LongValue.- Specified by:
convertToLongin classDoubleValue
-
convertToFloat
public FloatValue convertToFloat()
Description copied from class:DoubleValueConverts this DoubleValue to a FloatValue.- Specified by:
convertToFloatin classDoubleValue
-
generalize
public DoubleValue generalize(DoubleValue other)
Description copied from class:DoubleValueReturns the generalization of this DoubleValue and the given other DoubleValue.- Specified by:
generalizein classDoubleValue
-
add
public DoubleValue add(DoubleValue other)
Description copied from class:DoubleValueReturns the sum of this DoubleValue and the given DoubleValue.- Specified by:
addin classDoubleValue
-
subtract
public DoubleValue subtract(DoubleValue other)
Description copied from class:DoubleValueReturns the difference of this DoubleValue and the given DoubleValue.- Specified by:
subtractin classDoubleValue
-
subtractFrom
public DoubleValue subtractFrom(DoubleValue other)
Description copied from class:DoubleValueReturns the difference of the given DoubleValue and this DoubleValue.- Specified by:
subtractFromin classDoubleValue
-
multiply
public DoubleValue multiply(DoubleValue other)
Description copied from class:DoubleValueReturns the product of this DoubleValue and the given DoubleValue.- Specified by:
multiplyin classDoubleValue
-
divide
public DoubleValue divide(DoubleValue other)
Description copied from class:DoubleValueReturns the quotient of this DoubleValue and the given DoubleValue.- Specified by:
dividein classDoubleValue
-
divideOf
public DoubleValue divideOf(DoubleValue other)
Description copied from class:DoubleValueReturns the quotient of the given DoubleValue and this DoubleValue.- Specified by:
divideOfin classDoubleValue
-
remainder
public DoubleValue remainder(DoubleValue other)
Description copied from class:DoubleValueReturns the remainder of this DoubleValue divided by the given DoubleValue.- Specified by:
remainderin classDoubleValue
-
remainderOf
public DoubleValue remainderOf(DoubleValue other)
Description copied from class:DoubleValueReturns the remainder of the given DoubleValue divided by this DoubleValue.- Specified by:
remainderOfin classDoubleValue
-
compare
public IntegerValue compare(DoubleValue other)
Description copied from class:DoubleValueReturns an IntegerValue with value -1, 0, or 1, if this DoubleValue is less than, equal to, or greater than the given DoubleValue, respectively.- Specified by:
comparein classDoubleValue
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-