Package proguard.evaluation.value
Class NegatedLongValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.LongValue
-
- proguard.evaluation.value.SpecificLongValue
-
- proguard.evaluation.value.NegatedLongValue
-
public final class NegatedLongValue extends SpecificLongValue
ThisLongValue
represents a long value that is negated.
-
-
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 Constructor Description NegatedLongValue(LongValue longValue)
Creates a new negated long value of the given long value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
LongValue
negate()
Returns the negated value of this LongValue.java.lang.String
toString()
-
Methods inherited from class proguard.evaluation.value.SpecificLongValue
add, add, and, and, compare, compare, convertToDouble, convertToFloat, convertToInteger, divide, divide, divideOf, divideOf, generalize, generalize, isSpecific, multiply, multiply, or, or, remainder, remainder, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftRight, shiftRight, subtract, subtract, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, xor, xor
-
Methods inherited from class proguard.evaluation.value.LongValue
add, and, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, generalize, generalize, internalType, longValue, multiply, or, remainder, remainderOf, shiftLeft, shiftRight, subtract, subtractFrom, unsignedShiftRight, value, xor
-
Methods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, referenceValue
-
-
-
-
Constructor Detail
-
NegatedLongValue
public NegatedLongValue(LongValue longValue)
Creates a new negated long value of the given long value.
-
-
Method Detail
-
negate
public LongValue negate()
Description copied from class:LongValue
Returns the negated value of this LongValue.- Overrides:
negate
in classSpecificLongValue
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classSpecificLongValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSpecificLongValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-