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
DoubleValue that 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 -
Method Summary
Modifier and TypeMethodDescriptionadd(DoubleValue other) Returns the sum of this DoubleValue and the given DoubleValue.compare(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.Converts this DoubleValue to a FloatValue.Converts this DoubleValue to an IntegerValue.Converts this DoubleValue to a LongValue.divide(DoubleValue other) Returns the quotient of this DoubleValue and the given DoubleValue.divideOf(DoubleValue other) Returns the quotient of the given DoubleValue and this DoubleValue.booleangeneralize(DoubleValue other) Returns the generalization of this DoubleValue and the given other DoubleValue.inthashCode()multiply(DoubleValue other) Returns the product of this DoubleValue and the given DoubleValue.negate()Returns the negated value of this DoubleValue.remainder(DoubleValue other) Returns the remainder of this DoubleValue divided by the given DoubleValue.remainderOf(DoubleValue other) Returns the remainder of the given DoubleValue divided by this DoubleValue.subtract(DoubleValue other) Returns the difference of this DoubleValue and the given DoubleValue.subtractFrom(DoubleValue other) Returns the difference of the given DoubleValue and this DoubleValue.toString()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, valueMethods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, isSpecific, longValue, referenceValue
-
Constructor Details
-
UnknownDoubleValue
public UnknownDoubleValue()
-
-
Method Details
-
negate
Description copied from class:DoubleValueReturns the negated value of this DoubleValue.- Specified by:
negatein classDoubleValue
-
convertToInteger
Description copied from class:DoubleValueConverts this DoubleValue to an IntegerValue.- Specified by:
convertToIntegerin classDoubleValue
-
convertToLong
Description copied from class:DoubleValueConverts this DoubleValue to a LongValue.- Specified by:
convertToLongin classDoubleValue
-
convertToFloat
Description copied from class:DoubleValueConverts this DoubleValue to a FloatValue.- Specified by:
convertToFloatin classDoubleValue
-
generalize
Description copied from class:DoubleValueReturns the generalization of this DoubleValue and the given other DoubleValue.- Specified by:
generalizein classDoubleValue
-
add
Description copied from class:DoubleValueReturns the sum of this DoubleValue and the given DoubleValue.- Specified by:
addin classDoubleValue
-
subtract
Description copied from class:DoubleValueReturns the difference of this DoubleValue and the given DoubleValue.- Specified by:
subtractin classDoubleValue
-
subtractFrom
Description copied from class:DoubleValueReturns the difference of the given DoubleValue and this DoubleValue.- Specified by:
subtractFromin classDoubleValue
-
multiply
Description copied from class:DoubleValueReturns the product of this DoubleValue and the given DoubleValue.- Specified by:
multiplyin classDoubleValue
-
divide
Description copied from class:DoubleValueReturns the quotient of this DoubleValue and the given DoubleValue.- Specified by:
dividein classDoubleValue
-
divideOf
Description copied from class:DoubleValueReturns the quotient of the given DoubleValue and this DoubleValue.- Specified by:
divideOfin classDoubleValue
-
remainder
Description copied from class:DoubleValueReturns the remainder of this DoubleValue divided by the given DoubleValue.- Specified by:
remainderin classDoubleValue
-
remainderOf
Description copied from class:DoubleValueReturns the remainder of the given DoubleValue divided by this DoubleValue.- Specified by:
remainderOfin classDoubleValue
-
compare
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
-
hashCode
public int hashCode() -
toString
-