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
 
 public abstract class SpecificDoubleValue extends DoubleValue ThisDoubleValuerepresents a specific double value.
- 
- 
Field Summary- 
Fields inherited from class proguard.evaluation.value.ValueALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
 
- 
 - 
Constructor SummaryConstructors Constructor Description SpecificDoubleValue()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleValueadd(DoubleValue other)Returns the sum of this DoubleValue and the given DoubleValue.DoubleValueadd(SpecificDoubleValue other)Returns the sum of this DoubleValue and the given SpecificDoubleValue.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.IntegerValuecompare(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.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.DoubleValuedivide(SpecificDoubleValue other)Returns the quotient of this DoubleValue and the given SpecificDoubleValue.DoubleValuedivideOf(DoubleValue other)Returns the quotient of the given DoubleValue and this DoubleValue.DoubleValuedivideOf(SpecificDoubleValue other)Returns the quotient of the given SpecificDoubleValue and this DoubleValue.booleanequals(java.lang.Object object)DoubleValuegeneralize(DoubleValue other)Returns the generalization of this DoubleValue and the given other DoubleValue.DoubleValuegeneralize(SpecificDoubleValue other)Returns the generalization of this DoubleValue and the given other SpecificDoubleValue.inthashCode()booleanisSpecific()Returns whether this Value represents a single specific (but possibly unknown) value.DoubleValuemultiply(DoubleValue other)Returns the product of this DoubleValue and the given DoubleValue.DoubleValuemultiply(SpecificDoubleValue other)Returns the product of this DoubleValue and the given SpecificDoubleValue.DoubleValuenegate()Returns the negated value of this DoubleValue.DoubleValueremainder(DoubleValue other)Returns the remainder of this DoubleValue divided by the given DoubleValue.DoubleValueremainder(SpecificDoubleValue other)Returns the remainder of this DoubleValue divided by the given SpecificDoubleValue.DoubleValueremainderOf(DoubleValue other)Returns the remainder of the given DoubleValue divided by this DoubleValue.DoubleValueremainderOf(SpecificDoubleValue other)Returns the remainder of the given SpecificDoubleValue and this DoubleValue.DoubleValuesubtract(DoubleValue other)Returns the difference of this DoubleValue and the given DoubleValue.DoubleValuesubtract(SpecificDoubleValue other)Returns the difference of this DoubleValue and the given SpecificDoubleValue.DoubleValuesubtractFrom(DoubleValue other)Returns the difference of the given DoubleValue and this DoubleValue.DoubleValuesubtractFrom(SpecificDoubleValue other)Returns the difference of the given SpecificDoubleValue and this DoubleValue.- 
Methods inherited from class proguard.evaluation.value.DoubleValueadd, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, doubleValue, generalize, generalize, internalType, multiply, remainder, remainderOf, subtract, subtractFrom, value
 - 
Methods inherited from class proguard.evaluation.value.Category2Valuecategory2Value, isCategory2
 - 
Methods inherited from class proguard.evaluation.value.Valuecategory1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, isParticular, longValue, referenceValue
 
- 
 
- 
- 
- 
Method Detail- 
negatepublic DoubleValue negate() Description copied from class:DoubleValueReturns the negated value of this DoubleValue.- Specified by:
- negatein class- DoubleValue
 
 - 
convertToIntegerpublic IntegerValue convertToInteger() Description copied from class:DoubleValueConverts this DoubleValue to an IntegerValue.- Specified by:
- convertToIntegerin class- DoubleValue
 
 - 
convertToLongpublic LongValue convertToLong() Description copied from class:DoubleValueConverts this DoubleValue to a LongValue.- Specified by:
- convertToLongin class- DoubleValue
 
 - 
convertToFloatpublic FloatValue convertToFloat() Description copied from class:DoubleValueConverts this DoubleValue to a FloatValue.- Specified by:
- convertToFloatin class- DoubleValue
 
 - 
generalizepublic DoubleValue generalize(DoubleValue other) Description copied from class:DoubleValueReturns the generalization of this DoubleValue and the given other DoubleValue.- Specified by:
- generalizein class- DoubleValue
 
 - 
addpublic DoubleValue add(DoubleValue other) Description copied from class:DoubleValueReturns the sum of this DoubleValue and the given DoubleValue.- Specified by:
- addin class- DoubleValue
 
 - 
subtractpublic DoubleValue subtract(DoubleValue other) Description copied from class:DoubleValueReturns the difference of this DoubleValue and the given DoubleValue.- Specified by:
- subtractin class- DoubleValue
 
 - 
subtractFrompublic DoubleValue subtractFrom(DoubleValue other) Description copied from class:DoubleValueReturns the difference of the given DoubleValue and this DoubleValue.- Specified by:
- subtractFromin class- DoubleValue
 
 - 
multiplypublic DoubleValue multiply(DoubleValue other) Description copied from class:DoubleValueReturns the product of this DoubleValue and the given DoubleValue.- Specified by:
- multiplyin class- DoubleValue
 
 - 
dividepublic DoubleValue divide(DoubleValue other) Description copied from class:DoubleValueReturns the quotient of this DoubleValue and the given DoubleValue.- Specified by:
- dividein class- DoubleValue
 
 - 
divideOfpublic DoubleValue divideOf(DoubleValue other) Description copied from class:DoubleValueReturns the quotient of the given DoubleValue and this DoubleValue.- Specified by:
- divideOfin class- DoubleValue
 
 - 
remainderpublic DoubleValue remainder(DoubleValue other) Description copied from class:DoubleValueReturns the remainder of this DoubleValue divided by the given DoubleValue.- Specified by:
- remainderin class- DoubleValue
 
 - 
remainderOfpublic DoubleValue remainderOf(DoubleValue other) Description copied from class:DoubleValueReturns the remainder of the given DoubleValue divided by this DoubleValue.- Specified by:
- remainderOfin class- DoubleValue
 
 - 
comparepublic 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 class- DoubleValue
 
 - 
generalizepublic DoubleValue generalize(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the generalization of this DoubleValue and the given other SpecificDoubleValue.- Overrides:
- generalizein class- DoubleValue
 
 - 
addpublic DoubleValue add(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the sum of this DoubleValue and the given SpecificDoubleValue.- Overrides:
- addin class- DoubleValue
 
 - 
subtractpublic DoubleValue subtract(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the difference of this DoubleValue and the given SpecificDoubleValue.- Overrides:
- subtractin class- DoubleValue
 
 - 
subtractFrompublic DoubleValue subtractFrom(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the difference of the given SpecificDoubleValue and this DoubleValue.- Overrides:
- subtractFromin class- DoubleValue
 
 - 
multiplypublic DoubleValue multiply(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the product of this DoubleValue and the given SpecificDoubleValue.- Overrides:
- multiplyin class- DoubleValue
 
 - 
dividepublic DoubleValue divide(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the quotient of this DoubleValue and the given SpecificDoubleValue.- Overrides:
- dividein class- DoubleValue
 
 - 
divideOfpublic DoubleValue divideOf(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the quotient of the given SpecificDoubleValue and this DoubleValue.- Overrides:
- divideOfin class- DoubleValue
 
 - 
remainderpublic DoubleValue remainder(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the remainder of this DoubleValue divided by the given SpecificDoubleValue.- Overrides:
- remainderin class- DoubleValue
 
 - 
remainderOfpublic DoubleValue remainderOf(SpecificDoubleValue other) Description copied from class:DoubleValueReturns the remainder of the given SpecificDoubleValue and this DoubleValue.- Overrides:
- remainderOfin class- DoubleValue
 
 - 
comparepublic IntegerValue compare(SpecificDoubleValue 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 SpecificDoubleValue, respectively.- Overrides:
- comparein class- DoubleValue
 
 - 
isSpecificpublic boolean isSpecific() Description copied from class:ValueReturns whether this Value represents a single specific (but possibly unknown) value.- Overrides:
- isSpecificin class- Value
 
 - 
equalspublic boolean equals(java.lang.Object object) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-