类 ParticularFloatValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.FloatValue
-
- proguard.evaluation.value.SpecificFloatValue
-
- proguard.evaluation.value.ParticularFloatValue
-
public final class ParticularFloatValue extends SpecificFloatValue
ThisFloatValuerepresents a particular float 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
-
-
构造器概要
构造器 构造器 说明 ParticularFloatValue(float value)Creates a new particular float value.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 FloatValueadd(FloatValue other)Returns the sum of this FloatValue and the given FloatValue.FloatValueadd(ParticularFloatValue other)Returns the sum of this FloatValue and the given ParticularFloatValue.IntegerValuecompare(FloatValue other)Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given FloatValue, respectively.IntegerValuecompare(ParticularFloatValue other)Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given ParticularFloatValue, respectively.DoubleValueconvertToDouble()Converts this FloatValue to a DoubleValue.IntegerValueconvertToInteger()Converts this FloatValue to an IntegerValue.LongValueconvertToLong()Converts this FloatValue to a LongValue.FloatValuedivide(FloatValue other)Returns the quotient of this FloatValue and the given FloatValue.FloatValuedivide(ParticularFloatValue other)Returns the quotient of this FloatValue and the given ParticularFloatValue.FloatValuedivideOf(FloatValue other)Returns the quotient of the given FloatValue and this FloatValue.FloatValuedivideOf(ParticularFloatValue other)Returns the quotient of the given ParticularFloatValue and this FloatValue.booleanequals(java.lang.Object object)FloatValuegeneralize(FloatValue other)Returns the generalization of this FloatValue and the given other FloatValue.FloatValuegeneralize(ParticularFloatValue other)Returns the generalization of this FloatValue and the given other ParticularFloatValue.inthashCode()booleanisParticular()Returns whether this Value represents a single particular (known) value.FloatValuemultiply(FloatValue other)Returns the product of this FloatValue and the given FloatValue.FloatValuemultiply(ParticularFloatValue other)Returns the product of this FloatValue and the given ParticularFloatValue.FloatValuenegate()Returns the negated value of this FloatValue.FloatValueremainder(FloatValue other)Returns the remainder of this FloatValue divided by the given FloatValue.FloatValueremainder(ParticularFloatValue other)Returns the remainder of this FloatValue divided by the given ParticularFloatValue.FloatValueremainderOf(FloatValue other)Returns the remainder of the given FloatValue divided by this FloatValue.FloatValueremainderOf(ParticularFloatValue other)Returns the remainder of the given ParticularFloatValue and this FloatValue.FloatValuesubtract(FloatValue other)Returns the difference of this FloatValue and the given FloatValue.FloatValuesubtract(ParticularFloatValue other)Returns the difference of this FloatValue and the given ParticularFloatValue.FloatValuesubtractFrom(FloatValue other)Returns the difference of the given FloatValue and this FloatValue.FloatValuesubtractFrom(ParticularFloatValue other)Returns the difference of the given ParticularFloatValue and this FloatValue.java.lang.StringtoString()floatvalue()Returns the specific float value, if applicable.-
从类继承的方法 proguard.evaluation.value.SpecificFloatValue
add, compare, divide, divideOf, generalize, isSpecific, multiply, remainder, remainderOf, subtract, subtractFrom
-
从类继承的方法 proguard.evaluation.value.FloatValue
compareReverse, compareReverse, compareReverse, computationalType, floatValue, generalize, internalType
-
从类继承的方法 proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, instructionOffsetValue, integerValue, longValue, referenceValue
-
-
-
-
方法详细资料
-
value
public float value()
从类复制的说明:FloatValueReturns the specific float value, if applicable.- 覆盖:
value在类中FloatValue
-
negate
public FloatValue negate()
从类复制的说明:FloatValueReturns the negated value of this FloatValue.- 覆盖:
negate在类中SpecificFloatValue
-
convertToInteger
public IntegerValue convertToInteger()
从类复制的说明:FloatValueConverts this FloatValue to an IntegerValue.- 覆盖:
convertToInteger在类中SpecificFloatValue
-
convertToLong
public LongValue convertToLong()
从类复制的说明:FloatValueConverts this FloatValue to a LongValue.- 覆盖:
convertToLong在类中SpecificFloatValue
-
convertToDouble
public DoubleValue convertToDouble()
从类复制的说明:FloatValueConverts this FloatValue to a DoubleValue.- 覆盖:
convertToDouble在类中SpecificFloatValue
-
generalize
public FloatValue generalize(FloatValue other)
从类复制的说明:FloatValueReturns the generalization of this FloatValue and the given other FloatValue.- 覆盖:
generalize在类中SpecificFloatValue
-
add
public FloatValue add(FloatValue other)
从类复制的说明:FloatValueReturns the sum of this FloatValue and the given FloatValue.- 覆盖:
add在类中SpecificFloatValue
-
subtract
public FloatValue subtract(FloatValue other)
从类复制的说明:FloatValueReturns the difference of this FloatValue and the given FloatValue.- 覆盖:
subtract在类中SpecificFloatValue
-
subtractFrom
public FloatValue subtractFrom(FloatValue other)
从类复制的说明:FloatValueReturns the difference of the given FloatValue and this FloatValue.- 覆盖:
subtractFrom在类中SpecificFloatValue
-
multiply
public FloatValue multiply(FloatValue other)
从类复制的说明:FloatValueReturns the product of this FloatValue and the given FloatValue.- 覆盖:
multiply在类中SpecificFloatValue
-
divide
public FloatValue divide(FloatValue other)
从类复制的说明:FloatValueReturns the quotient of this FloatValue and the given FloatValue.- 覆盖:
divide在类中SpecificFloatValue
-
divideOf
public FloatValue divideOf(FloatValue other)
从类复制的说明:FloatValueReturns the quotient of the given FloatValue and this FloatValue.- 覆盖:
divideOf在类中SpecificFloatValue
-
remainder
public FloatValue remainder(FloatValue other)
从类复制的说明:FloatValueReturns the remainder of this FloatValue divided by the given FloatValue.- 覆盖:
remainder在类中SpecificFloatValue
-
remainderOf
public FloatValue remainderOf(FloatValue other)
从类复制的说明:FloatValueReturns the remainder of the given FloatValue divided by this FloatValue.- 覆盖:
remainderOf在类中SpecificFloatValue
-
compare
public IntegerValue compare(FloatValue other)
从类复制的说明:FloatValueReturns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given FloatValue, respectively.- 覆盖:
compare在类中SpecificFloatValue
-
generalize
public FloatValue generalize(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the generalization of this FloatValue and the given other ParticularFloatValue.- 覆盖:
generalize在类中FloatValue
-
add
public FloatValue add(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the sum of this FloatValue and the given ParticularFloatValue.- 覆盖:
add在类中FloatValue
-
subtract
public FloatValue subtract(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the difference of this FloatValue and the given ParticularFloatValue.- 覆盖:
subtract在类中FloatValue
-
subtractFrom
public FloatValue subtractFrom(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the difference of the given ParticularFloatValue and this FloatValue.- 覆盖:
subtractFrom在类中FloatValue
-
multiply
public FloatValue multiply(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the product of this FloatValue and the given ParticularFloatValue.- 覆盖:
multiply在类中FloatValue
-
divide
public FloatValue divide(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the quotient of this FloatValue and the given ParticularFloatValue.- 覆盖:
divide在类中FloatValue
-
divideOf
public FloatValue divideOf(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the quotient of the given ParticularFloatValue and this FloatValue.- 覆盖:
divideOf在类中FloatValue
-
remainder
public FloatValue remainder(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the remainder of this FloatValue divided by the given ParticularFloatValue.- 覆盖:
remainder在类中FloatValue
-
remainderOf
public FloatValue remainderOf(ParticularFloatValue other)
从类复制的说明:FloatValueReturns the remainder of the given ParticularFloatValue and this FloatValue.- 覆盖:
remainderOf在类中FloatValue
-
compare
public IntegerValue compare(ParticularFloatValue other)
从类复制的说明:FloatValueReturns an IntegerValue with value -1, 0, or 1, if this FloatValue is less than, equal to, or greater than the given ParticularFloatValue, respectively.- 覆盖:
compare在类中FloatValue
-
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在类中SpecificFloatValue
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中SpecificFloatValue
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-