类 ParticularLongValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.LongValue
-
- proguard.evaluation.value.SpecificLongValue
-
- proguard.evaluation.value.ParticularLongValue
-
public final class ParticularLongValue extends SpecificLongValue
ThisLongValuerepresents a particular long 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
-
-
构造器概要
构造器 构造器 说明 ParticularLongValue(long value)Creates a new particular long value.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LongValueadd(LongValue other)Returns the sum of this LongValue and the given LongValue.LongValueadd(ParticularLongValue other)Returns the sum of this LongValue and the given ParticularLongValue.LongValueand(LongValue other)Returns the logical and of this LongValue and the given LongValue.LongValueand(ParticularLongValue other)Returns the logical and of this LongValue and the given ParticularLongValue.IntegerValuecompare(LongValue other)Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively.DoubleValueconvertToDouble()Converts this LongValue to a DoubleValue.FloatValueconvertToFloat()Converts this LongValue to a FloatValue.IntegerValueconvertToInteger()Converts this LongValue to an IntegerValue.LongValuedivide(LongValue other)Returns the quotient of this LongValue and the given LongValue.LongValuedivide(ParticularLongValue other)Returns the quotient of this LongValue and the given ParticularLongValue.LongValuedivideOf(LongValue other)Returns the quotient of the given LongValue and this LongValue.LongValuedivideOf(ParticularLongValue other)Returns the quotient of the given ParticularLongValue and this LongValue.booleanequals(java.lang.Object object)LongValuegeneralize(LongValue other)Returns the generalization of this LongValue and the given other LongValue.LongValuegeneralize(ParticularLongValue other)Returns the generalization of this LongValue and the given other ParticularLongValue.inthashCode()booleanisParticular()Returns whether this Value represents a single particular (known) value.LongValuemultiply(LongValue other)Returns the product of this LongValue and the given LongValue.LongValuemultiply(ParticularLongValue other)Returns the product of this LongValue and the given ParticularLongValue.LongValuenegate()Returns the negated value of this LongValue.LongValueor(LongValue other)Returns the logical or of this LongValue and the given LongValue.LongValueor(ParticularLongValue other)Returns the logical or of this LongValue and the given ParticularLongValue.LongValueremainder(LongValue other)Returns the remainder of this LongValue divided by the given LongValue.LongValueremainder(ParticularLongValue other)Returns the remainder of this LongValue divided by the given ParticularLongValue.LongValueremainderOf(LongValue other)Returns the remainder of the given LongValue divided by this LongValue.LongValueremainderOf(ParticularLongValue other)Returns the remainder of the given ParticularLongValue divided by this LongValue.LongValueshiftLeft(IntegerValue other)Returns this LongValue, shifted left by the given IntegerValue.LongValueshiftLeft(ParticularIntegerValue other)Returns this LongValue, shifted left by the given ParticularIntegerValue.LongValueshiftRight(IntegerValue other)Returns this LongValue, shifted right by the given IntegerValue.LongValueshiftRight(ParticularIntegerValue other)Returns this LongValue, shifted right by the given ParticularIntegerValue.LongValuesubtract(LongValue other)Returns the difference of this LongValue and the given LongValue.LongValuesubtract(ParticularLongValue other)Returns the difference of this LongValue and the given ParticularLongValue.LongValuesubtractFrom(LongValue other)Returns the difference of the given LongValue and this LongValue.LongValuesubtractFrom(ParticularLongValue other)Returns the difference of the given ParticularLongValue and this LongValue.java.lang.StringtoString()LongValueunsignedShiftRight(IntegerValue other)Returns this unsigned LongValue, shifted left by the given IntegerValue.LongValueunsignedShiftRight(ParticularIntegerValue other)Returns this unsigned LongValue, shifted right by the given ParticularIntegerValue.longvalue()Returns the specific long value, if applicable.LongValuexor(LongValue other)Returns the logical xor of this LongValue and the given LongValue.LongValuexor(ParticularLongValue other)Returns the logical xor of this LongValue and the given ParticularLongValue.-
从类继承的方法 proguard.evaluation.value.SpecificLongValue
add, and, compare, divide, divideOf, generalize, isSpecific, multiply, or, remainder, remainderOf, shiftLeft, shiftRight, subtract, subtractFrom, unsignedShiftRight, xor
-
从类继承的方法 proguard.evaluation.value.LongValue
compare, compareReverse, compareReverse, compareReverse, computationalType, generalize, internalType, longValue
-
从类继承的方法 proguard.evaluation.value.Category2Value
category2Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, referenceValue
-
-
-
-
方法详细资料
-
value
public long value()
从类复制的说明:LongValueReturns the specific long value, if applicable.
-
negate
public LongValue negate()
从类复制的说明:LongValueReturns the negated value of this LongValue.- 覆盖:
negate在类中SpecificLongValue
-
convertToInteger
public IntegerValue convertToInteger()
从类复制的说明:LongValueConverts this LongValue to an IntegerValue.- 覆盖:
convertToInteger在类中SpecificLongValue
-
convertToFloat
public FloatValue convertToFloat()
从类复制的说明:LongValueConverts this LongValue to a FloatValue.- 覆盖:
convertToFloat在类中SpecificLongValue
-
convertToDouble
public DoubleValue convertToDouble()
从类复制的说明:LongValueConverts this LongValue to a DoubleValue.- 覆盖:
convertToDouble在类中SpecificLongValue
-
generalize
public LongValue generalize(LongValue other)
从类复制的说明:LongValueReturns the generalization of this LongValue and the given other LongValue.- 覆盖:
generalize在类中SpecificLongValue
-
add
public LongValue add(LongValue other)
从类复制的说明:LongValueReturns the sum of this LongValue and the given LongValue.- 覆盖:
add在类中SpecificLongValue
-
subtract
public LongValue subtract(LongValue other)
从类复制的说明:LongValueReturns the difference of this LongValue and the given LongValue.- 覆盖:
subtract在类中SpecificLongValue
-
subtractFrom
public LongValue subtractFrom(LongValue other)
从类复制的说明:LongValueReturns the difference of the given LongValue and this LongValue.- 覆盖:
subtractFrom在类中SpecificLongValue
-
multiply
public LongValue multiply(LongValue other)
从类复制的说明:LongValueReturns the product of this LongValue and the given LongValue.- 覆盖:
multiply在类中SpecificLongValue
-
divide
public LongValue divide(LongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the quotient of this LongValue and the given LongValue.- 覆盖:
divide在类中SpecificLongValue- 抛出:
java.lang.ArithmeticException
-
divideOf
public LongValue divideOf(LongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the quotient of the given LongValue and this LongValue.- 覆盖:
divideOf在类中SpecificLongValue- 抛出:
java.lang.ArithmeticException
-
remainder
public LongValue remainder(LongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the remainder of this LongValue divided by the given LongValue.- 覆盖:
remainder在类中SpecificLongValue- 抛出:
java.lang.ArithmeticException
-
remainderOf
public LongValue remainderOf(LongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the remainder of the given LongValue divided by this LongValue.- 覆盖:
remainderOf在类中SpecificLongValue- 抛出:
java.lang.ArithmeticException
-
shiftLeft
public LongValue shiftLeft(IntegerValue other)
从类复制的说明:LongValueReturns this LongValue, shifted left by the given IntegerValue.- 覆盖:
shiftLeft在类中SpecificLongValue
-
shiftRight
public LongValue shiftRight(IntegerValue other)
从类复制的说明:LongValueReturns this LongValue, shifted right by the given IntegerValue.- 覆盖:
shiftRight在类中SpecificLongValue
-
unsignedShiftRight
public LongValue unsignedShiftRight(IntegerValue other)
从类复制的说明:LongValueReturns this unsigned LongValue, shifted left by the given IntegerValue.- 覆盖:
unsignedShiftRight在类中SpecificLongValue
-
and
public LongValue and(LongValue other)
从类复制的说明:LongValueReturns the logical and of this LongValue and the given LongValue.- 覆盖:
and在类中SpecificLongValue
-
or
public LongValue or(LongValue other)
从类复制的说明:LongValueReturns the logical or of this LongValue and the given LongValue.- 覆盖:
or在类中SpecificLongValue
-
xor
public LongValue xor(LongValue other)
从类复制的说明:LongValueReturns the logical xor of this LongValue and the given LongValue.- 覆盖:
xor在类中SpecificLongValue
-
compare
public IntegerValue compare(LongValue other)
从类复制的说明:LongValueReturns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively.- 覆盖:
compare在类中SpecificLongValue
-
generalize
public LongValue generalize(ParticularLongValue other)
从类复制的说明:LongValueReturns the generalization of this LongValue and the given other ParticularLongValue.- 覆盖:
generalize在类中LongValue
-
add
public LongValue add(ParticularLongValue other)
从类复制的说明:LongValueReturns the sum of this LongValue and the given ParticularLongValue.
-
subtract
public LongValue subtract(ParticularLongValue other)
从类复制的说明:LongValueReturns the difference of this LongValue and the given ParticularLongValue.
-
subtractFrom
public LongValue subtractFrom(ParticularLongValue other)
从类复制的说明:LongValueReturns the difference of the given ParticularLongValue and this LongValue.- 覆盖:
subtractFrom在类中LongValue
-
multiply
public LongValue multiply(ParticularLongValue other)
从类复制的说明:LongValueReturns the product of this LongValue and the given ParticularLongValue.
-
divide
public LongValue divide(ParticularLongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the quotient of this LongValue and the given ParticularLongValue.
-
divideOf
public LongValue divideOf(ParticularLongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the quotient of the given ParticularLongValue and this LongValue.
-
remainder
public LongValue remainder(ParticularLongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the remainder of this LongValue divided by the given ParticularLongValue.
-
remainderOf
public LongValue remainderOf(ParticularLongValue other) throws java.lang.ArithmeticException
从类复制的说明:LongValueReturns the remainder of the given ParticularLongValue divided by this LongValue.- 覆盖:
remainderOf在类中LongValue- 抛出:
java.lang.ArithmeticException
-
shiftLeft
public LongValue shiftLeft(ParticularIntegerValue other)
从类复制的说明:LongValueReturns this LongValue, shifted left by the given ParticularIntegerValue.
-
shiftRight
public LongValue shiftRight(ParticularIntegerValue other)
从类复制的说明:LongValueReturns this LongValue, shifted right by the given ParticularIntegerValue.- 覆盖:
shiftRight在类中LongValue
-
unsignedShiftRight
public LongValue unsignedShiftRight(ParticularIntegerValue other)
从类复制的说明:LongValueReturns this unsigned LongValue, shifted right by the given ParticularIntegerValue.- 覆盖:
unsignedShiftRight在类中LongValue
-
and
public LongValue and(ParticularLongValue other)
从类复制的说明:LongValueReturns the logical and of this LongValue and the given ParticularLongValue.
-
or
public LongValue or(ParticularLongValue other)
从类复制的说明:LongValueReturns the logical or of this LongValue and the given ParticularLongValue.
-
xor
public LongValue xor(ParticularLongValue other)
从类复制的说明:LongValueReturns the logical xor of this LongValue and the given ParticularLongValue.
-
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在类中SpecificLongValue
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中SpecificLongValue
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-