Package proguard.evaluation.value
Class SpecificDoubleValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category2Value
proguard.evaluation.value.DoubleValue
proguard.evaluation.value.SpecificDoubleValue
- Direct Known Subclasses:
CompositeDoubleValue,ConvertedDoubleValue,IdentifiedDoubleValue,NegatedDoubleValue,ParticularDoubleValue
This
DoubleValue represents a specific double value.-
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.add(SpecificDoubleValue other) Returns the sum of this DoubleValue and the given SpecificDoubleValue.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.compare(SpecificDoubleValue other) Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is less than, equal to, or greater than the given SpecificDoubleValue, 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.divide(SpecificDoubleValue other) Returns the quotient of this DoubleValue and the given SpecificDoubleValue.divideOf(DoubleValue other) Returns the quotient of the given DoubleValue and this DoubleValue.divideOf(SpecificDoubleValue other) Returns the quotient of the given SpecificDoubleValue and this DoubleValue.booleangeneralize(DoubleValue other) Returns the generalization of this DoubleValue and the given other DoubleValue.generalize(SpecificDoubleValue other) Returns the generalization of this DoubleValue and the given other SpecificDoubleValue.inthashCode()booleanReturns whether this Value represents a single specific (but possibly unknown) value.multiply(DoubleValue other) Returns the product of this DoubleValue and the given DoubleValue.multiply(SpecificDoubleValue other) Returns the product of this DoubleValue and the given SpecificDoubleValue.negate()Returns the negated value of this DoubleValue.remainder(DoubleValue other) Returns the remainder of this DoubleValue divided by the given DoubleValue.remainder(SpecificDoubleValue other) Returns the remainder of this DoubleValue divided by the given SpecificDoubleValue.remainderOf(DoubleValue other) Returns the remainder of the given DoubleValue divided by this DoubleValue.remainderOf(SpecificDoubleValue other) Returns the remainder of the given SpecificDoubleValue and this DoubleValue.subtract(DoubleValue other) Returns the difference of this DoubleValue and the given DoubleValue.subtract(SpecificDoubleValue other) Returns the difference of this DoubleValue and the given SpecificDoubleValue.subtractFrom(DoubleValue other) Returns the difference of the given DoubleValue and this DoubleValue.subtractFrom(SpecificDoubleValue other) Returns the difference of the given SpecificDoubleValue and this DoubleValue.Methods inherited from class proguard.evaluation.value.DoubleValue
add, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, doubleValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, valueMethods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValue
-
Constructor Details
-
SpecificDoubleValue
public SpecificDoubleValue()
-
-
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
-
generalize
Description copied from class:DoubleValueReturns the generalization of this DoubleValue and the given other SpecificDoubleValue.- Overrides:
generalizein classDoubleValue
-
add
Description copied from class:DoubleValueReturns the sum of this DoubleValue and the given SpecificDoubleValue.- Overrides:
addin classDoubleValue
-
subtract
Description copied from class:DoubleValueReturns the difference of this DoubleValue and the given SpecificDoubleValue.- Overrides:
subtractin classDoubleValue
-
subtractFrom
Description copied from class:DoubleValueReturns the difference of the given SpecificDoubleValue and this DoubleValue.- Overrides:
subtractFromin classDoubleValue
-
multiply
Description copied from class:DoubleValueReturns the product of this DoubleValue and the given SpecificDoubleValue.- Overrides:
multiplyin classDoubleValue
-
divide
Description copied from class:DoubleValueReturns the quotient of this DoubleValue and the given SpecificDoubleValue.- Overrides:
dividein classDoubleValue
-
divideOf
Description copied from class:DoubleValueReturns the quotient of the given SpecificDoubleValue and this DoubleValue.- Overrides:
divideOfin classDoubleValue
-
remainder
Description copied from class:DoubleValueReturns the remainder of this DoubleValue divided by the given SpecificDoubleValue.- Overrides:
remainderin classDoubleValue
-
remainderOf
Description copied from class:DoubleValueReturns the remainder of the given SpecificDoubleValue and this DoubleValue.- Overrides:
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 SpecificDoubleValue, respectively.- Overrides:
comparein classDoubleValue
-
isSpecific
public boolean isSpecific()Description copied from class:ValueReturns whether this Value represents a single specific (but possibly unknown) value.- Overrides:
isSpecificin classValue
-
equals
-
hashCode
public int hashCode()
-