类 ParticularDoubleValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.DoubleValue
-
- proguard.evaluation.value.SpecificDoubleValue
-
- proguard.evaluation.value.ParticularDoubleValue
-
public final class ParticularDoubleValue extends SpecificDoubleValue
ThisDoubleValuerepresents a particular double value.
-
-
字段概要
-
从类继承的字段 proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
构造器概要
构造器 构造器 说明 ParticularDoubleValue(double value)Creates a new particular double value.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DoubleValueadd(DoubleValue other)Returns the sum of this DoubleValue and the given DoubleValue.DoubleValueadd(ParticularDoubleValue other)Returns the sum of this DoubleValue and the given ParticularDoubleValue.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(ParticularDoubleValue other)Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is less than, equal to, or greater than the given ParticularDoubleValue, 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(ParticularDoubleValue other)Returns the quotient of this DoubleValue and the given ParticularDoubleValue.DoubleValuedivideOf(DoubleValue other)Returns the quotient of the given DoubleValue and this DoubleValue.DoubleValuedivideOf(ParticularDoubleValue other)Returns the quotient of the given ParticularDoubleValue and this DoubleValue.booleanequals(java.lang.Object object)DoubleValuegeneralize(DoubleValue other)Returns the generalization of this DoubleValue and the given other DoubleValue.DoubleValuegeneralize(ParticularDoubleValue other)Returns the generalization of this DoubleValue and the given other ParticularDoubleValue.inthashCode()booleanisParticular()Returns whether this Value represents a single particular (known) value.DoubleValuemultiply(DoubleValue other)Returns the product of this DoubleValue and the given DoubleValue.DoubleValuemultiply(ParticularDoubleValue other)Returns the product of this DoubleValue and the given ParticularDoubleValue.DoubleValuenegate()Returns the negated value of this DoubleValue.DoubleValueremainder(DoubleValue other)Returns the remainder of this DoubleValue divided by the given DoubleValue.DoubleValueremainder(ParticularDoubleValue other)Returns the remainder of this DoubleValue divided by the given ParticularDoubleValue.DoubleValueremainderOf(DoubleValue other)Returns the remainder of the given DoubleValue divided by this DoubleValue.DoubleValueremainderOf(ParticularDoubleValue other)Returns the remainder of the given ParticularDoubleValue and this DoubleValue.DoubleValuesubtract(DoubleValue other)Returns the difference of this DoubleValue and the given DoubleValue.DoubleValuesubtract(ParticularDoubleValue other)Returns the difference of this DoubleValue and the given ParticularDoubleValue.DoubleValuesubtractFrom(DoubleValue other)Returns the difference of the given DoubleValue and this DoubleValue.DoubleValuesubtractFrom(ParticularDoubleValue other)Returns the difference of the given ParticularDoubleValue and this DoubleValue.java.lang.StringtoString()doublevalue()Returns the specific double value, if applicable.-
从类继承的方法 proguard.evaluation.value.SpecificDoubleValue
add, compare, divide, divideOf, generalize, isSpecific, multiply, remainder, remainderOf, subtract, subtractFrom
-
从类继承的方法 proguard.evaluation.value.DoubleValue
compareReverse, compareReverse, compareReverse, computationalType, doubleValue, generalize, internalType
-
从类继承的方法 proguard.evaluation.value.Category2Value
category2Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category1Value, copyIfMutable, floatValue, instructionOffsetValue, integerValue, longValue, referenceValue
-
-
-
-
方法详细资料
-
value
public double value()
从类复制的说明:DoubleValueReturns the specific double value, if applicable.- 覆盖:
value在类中DoubleValue
-
negate
public DoubleValue negate()
从类复制的说明:DoubleValueReturns the negated value of this DoubleValue.- 覆盖:
negate在类中SpecificDoubleValue
-
convertToInteger
public IntegerValue convertToInteger()
从类复制的说明:DoubleValueConverts this DoubleValue to an IntegerValue.- 覆盖:
convertToInteger在类中SpecificDoubleValue
-
convertToLong
public LongValue convertToLong()
从类复制的说明:DoubleValueConverts this DoubleValue to a LongValue.- 覆盖:
convertToLong在类中SpecificDoubleValue
-
convertToFloat
public FloatValue convertToFloat()
从类复制的说明:DoubleValueConverts this DoubleValue to a FloatValue.- 覆盖:
convertToFloat在类中SpecificDoubleValue
-
generalize
public DoubleValue generalize(DoubleValue other)
从类复制的说明:DoubleValueReturns the generalization of this DoubleValue and the given other DoubleValue.- 覆盖:
generalize在类中SpecificDoubleValue
-
add
public DoubleValue add(DoubleValue other)
从类复制的说明:DoubleValueReturns the sum of this DoubleValue and the given DoubleValue.- 覆盖:
add在类中SpecificDoubleValue
-
subtract
public DoubleValue subtract(DoubleValue other)
从类复制的说明:DoubleValueReturns the difference of this DoubleValue and the given DoubleValue.- 覆盖:
subtract在类中SpecificDoubleValue
-
subtractFrom
public DoubleValue subtractFrom(DoubleValue other)
从类复制的说明:DoubleValueReturns the difference of the given DoubleValue and this DoubleValue.- 覆盖:
subtractFrom在类中SpecificDoubleValue
-
multiply
public DoubleValue multiply(DoubleValue other)
从类复制的说明:DoubleValueReturns the product of this DoubleValue and the given DoubleValue.- 覆盖:
multiply在类中SpecificDoubleValue
-
divide
public DoubleValue divide(DoubleValue other)
从类复制的说明:DoubleValueReturns the quotient of this DoubleValue and the given DoubleValue.- 覆盖:
divide在类中SpecificDoubleValue
-
divideOf
public DoubleValue divideOf(DoubleValue other)
从类复制的说明:DoubleValueReturns the quotient of the given DoubleValue and this DoubleValue.- 覆盖:
divideOf在类中SpecificDoubleValue
-
remainder
public DoubleValue remainder(DoubleValue other)
从类复制的说明:DoubleValueReturns the remainder of this DoubleValue divided by the given DoubleValue.- 覆盖:
remainder在类中SpecificDoubleValue
-
remainderOf
public DoubleValue remainderOf(DoubleValue other)
从类复制的说明:DoubleValueReturns the remainder of the given DoubleValue divided by this DoubleValue.- 覆盖:
remainderOf在类中SpecificDoubleValue
-
compare
public IntegerValue compare(DoubleValue other)
从类复制的说明:DoubleValueReturns 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
-
generalize
public DoubleValue generalize(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the generalization of this DoubleValue and the given other ParticularDoubleValue.- 覆盖:
generalize在类中DoubleValue
-
add
public DoubleValue add(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the sum of this DoubleValue and the given ParticularDoubleValue.- 覆盖:
add在类中DoubleValue
-
subtract
public DoubleValue subtract(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the difference of this DoubleValue and the given ParticularDoubleValue.- 覆盖:
subtract在类中DoubleValue
-
subtractFrom
public DoubleValue subtractFrom(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the difference of the given ParticularDoubleValue and this DoubleValue.- 覆盖:
subtractFrom在类中DoubleValue
-
multiply
public DoubleValue multiply(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the product of this DoubleValue and the given ParticularDoubleValue.- 覆盖:
multiply在类中DoubleValue
-
divide
public DoubleValue divide(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the quotient of this DoubleValue and the given ParticularDoubleValue.- 覆盖:
divide在类中DoubleValue
-
divideOf
public DoubleValue divideOf(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the quotient of the given ParticularDoubleValue and this DoubleValue.- 覆盖:
divideOf在类中DoubleValue
-
remainder
public DoubleValue remainder(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the remainder of this DoubleValue divided by the given ParticularDoubleValue.- 覆盖:
remainder在类中DoubleValue
-
remainderOf
public DoubleValue remainderOf(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns the remainder of the given ParticularDoubleValue and this DoubleValue.- 覆盖:
remainderOf在类中DoubleValue
-
compare
public IntegerValue compare(ParticularDoubleValue other)
从类复制的说明:DoubleValueReturns an IntegerValue with value -1, 0, or 1, if this DoubleValue is less than, equal to, or greater than the given ParticularDoubleValue, respectively.- 覆盖:
compare在类中DoubleValue
-
isParticular
public boolean isParticular()
从类复制的说明:ValueReturns whether this Value represents a single particular (known) value.- 覆盖:
isParticular在类中Value
-
equals
public boolean equals(java.lang.Object object)
- 覆盖:
equals在类中SpecificDoubleValue
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中SpecificDoubleValue
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-