proguard.evaluation.value
Class UnknownLongValue

java.lang.Object
  extended by proguard.evaluation.value.Value
      extended by proguard.evaluation.value.Category2Value
          extended by proguard.evaluation.value.LongValue
              extended by proguard.evaluation.value.UnknownLongValue

public class UnknownLongValue
extends LongValue

This class represents a partially evaluated long value.


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
 
Constructor Summary
UnknownLongValue()
           
 
Method Summary
 LongValue add(LongValue other)
          Returns the sum of this LongValue and the given LongValue.
 LongValue and(LongValue other)
          Returns the logical and of this LongValue and the given LongValue.
 IntegerValue compare(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.
 DoubleValue convertToDouble()
          Converts this LongValue to a DoubleValue.
 FloatValue convertToFloat()
          Converts this LongValue to a FloatValue.
 IntegerValue convertToInteger()
          Converts this LongValue to an IntegerValue.
 LongValue divide(LongValue other)
          Returns the quotient of this LongValue and the given LongValue.
 LongValue divideOf(LongValue other)
          Returns the quotient of the given LongValue and this LongValue.
 boolean equals(java.lang.Object object)
           
 LongValue generalize(LongValue other)
          Returns the generalization of this LongValue and the given other LongValue.
 int hashCode()
           
 LongValue multiply(LongValue other)
          Returns the product of this LongValue and the given LongValue.
 LongValue negate()
          Returns the negated value of this LongValue.
 LongValue or(LongValue other)
          Returns the logical or of this LongValue and the given LongValue.
 LongValue remainder(LongValue other)
          Returns the remainder of this LongValue divided by the given LongValue.
 LongValue remainderOf(LongValue other)
          Returns the remainder of the given LongValue divided by this LongValue.
 LongValue shiftLeft(IntegerValue other)
          Returns this LongValue, shifted left by the given IntegerValue.
 LongValue shiftRight(IntegerValue other)
          Returns this LongValue, shifted right by the given IntegerValue.
 LongValue subtract(LongValue other)
          Returns the difference of this LongValue and the given LongValue.
 LongValue subtractFrom(LongValue other)
          Returns the difference of the given LongValue and this LongValue.
 java.lang.String toString()
           
 LongValue unsignedShiftRight(IntegerValue other)
          Returns this unsigned LongValue, shifted left by the given IntegerValue.
 LongValue xor(LongValue other)
          Returns the logical xor of this LongValue and the given LongValue.
 
Methods inherited from class proguard.evaluation.value.LongValue
add, add, and, and, compare, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divide, divideOf, divideOf, generalize, generalize, generalize, internalType, longValue, multiply, multiply, or, or, remainder, remainder, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftRight, shiftRight, subtract, subtract, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, value, xor, xor
 
Methods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2
 
Methods inherited from class proguard.evaluation.value.Value
category1Value, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, isSpecific, referenceValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownLongValue

public UnknownLongValue()
Method Detail

negate

public LongValue negate()
Description copied from class: LongValue
Returns the negated value of this LongValue.

Specified by:
negate in class LongValue

convertToInteger

public IntegerValue convertToInteger()
Description copied from class: LongValue
Converts this LongValue to an IntegerValue.

Specified by:
convertToInteger in class LongValue

convertToFloat

public FloatValue convertToFloat()
Description copied from class: LongValue
Converts this LongValue to a FloatValue.

Specified by:
convertToFloat in class LongValue

convertToDouble

public DoubleValue convertToDouble()
Description copied from class: LongValue
Converts this LongValue to a DoubleValue.

Specified by:
convertToDouble in class LongValue

generalize

public LongValue generalize(LongValue other)
Description copied from class: LongValue
Returns the generalization of this LongValue and the given other LongValue.

Overrides:
generalize in class LongValue

add

public LongValue add(LongValue other)
Description copied from class: LongValue
Returns the sum of this LongValue and the given LongValue.

Overrides:
add in class LongValue

subtract

public LongValue subtract(LongValue other)
Description copied from class: LongValue
Returns the difference of this LongValue and the given LongValue.

Overrides:
subtract in class LongValue

subtractFrom

public LongValue subtractFrom(LongValue other)
Description copied from class: LongValue
Returns the difference of the given LongValue and this LongValue.

Overrides:
subtractFrom in class LongValue

multiply

public LongValue multiply(LongValue other)
                   throws java.lang.ArithmeticException
Description copied from class: LongValue
Returns the product of this LongValue and the given LongValue.

Overrides:
multiply in class LongValue
Throws:
java.lang.ArithmeticException

divide

public LongValue divide(LongValue other)
                 throws java.lang.ArithmeticException
Description copied from class: LongValue
Returns the quotient of this LongValue and the given LongValue.

Overrides:
divide in class LongValue
Throws:
java.lang.ArithmeticException

divideOf

public LongValue divideOf(LongValue other)
                   throws java.lang.ArithmeticException
Description copied from class: LongValue
Returns the quotient of the given LongValue and this LongValue.

Overrides:
divideOf in class LongValue
Throws:
java.lang.ArithmeticException

remainder

public LongValue remainder(LongValue other)
                    throws java.lang.ArithmeticException
Description copied from class: LongValue
Returns the remainder of this LongValue divided by the given LongValue.

Overrides:
remainder in class LongValue
Throws:
java.lang.ArithmeticException

remainderOf

public LongValue remainderOf(LongValue other)
                      throws java.lang.ArithmeticException
Description copied from class: LongValue
Returns the remainder of the given LongValue divided by this LongValue.

Overrides:
remainderOf in class LongValue
Throws:
java.lang.ArithmeticException

shiftLeft

public LongValue shiftLeft(IntegerValue other)
Description copied from class: LongValue
Returns this LongValue, shifted left by the given IntegerValue.

Overrides:
shiftLeft in class LongValue

shiftRight

public LongValue shiftRight(IntegerValue other)
Description copied from class: LongValue
Returns this LongValue, shifted right by the given IntegerValue.

Overrides:
shiftRight in class LongValue

unsignedShiftRight

public LongValue unsignedShiftRight(IntegerValue other)
Description copied from class: LongValue
Returns this unsigned LongValue, shifted left by the given IntegerValue.

Overrides:
unsignedShiftRight in class LongValue

and

public LongValue and(LongValue other)
Description copied from class: LongValue
Returns the logical and of this LongValue and the given LongValue.

Overrides:
and in class LongValue

or

public LongValue or(LongValue other)
Description copied from class: LongValue
Returns the logical or of this LongValue and the given LongValue.

Overrides:
or in class LongValue

xor

public LongValue xor(LongValue other)
Description copied from class: LongValue
Returns the logical xor of this LongValue and the given LongValue.

Overrides:
xor in class LongValue

compare

public IntegerValue compare(LongValue other)
Description copied from class: LongValue
Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively.

Overrides:
compare in class LongValue

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object