public abstract class SpecificLongValue extends LongValue
LongValue
represents a specific long value.ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Constructor and Description |
---|
SpecificLongValue() |
Modifier and Type | Method and Description |
---|---|
LongValue |
add(LongValue other)
Returns the sum of this LongValue and the given LongValue.
|
LongValue |
add(SpecificLongValue other)
Returns the sum of this LongValue and the given SpecificLongValue.
|
LongValue |
and(LongValue other)
Returns the logical and of this LongValue and the given LongValue.
|
LongValue |
and(SpecificLongValue other)
Returns the logical and of this LongValue and the given SpecificLongValue.
|
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.
|
IntegerValue |
compare(SpecificLongValue other)
Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or
greater than the given SpecificLongValue, 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 |
divide(SpecificLongValue other)
Returns the quotient of this LongValue and the given SpecificLongValue.
|
LongValue |
divideOf(LongValue other)
Returns the quotient of the given LongValue and this LongValue.
|
LongValue |
divideOf(SpecificLongValue other)
Returns the quotient of the given SpecificLongValue and this LongValue.
|
boolean |
equals(java.lang.Object object) |
LongValue |
generalize(LongValue other)
Returns the generalization of this LongValue and the given other LongValue.
|
LongValue |
generalize(SpecificLongValue other)
Returns the generalization of this LongValue and the given other SpecificLongValue.
|
int |
hashCode() |
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly unknown) value.
|
LongValue |
multiply(LongValue other)
Returns the product of this LongValue and the given LongValue.
|
LongValue |
multiply(SpecificLongValue other)
Returns the product of this LongValue and the given SpecificLongValue.
|
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 |
or(SpecificLongValue other)
Returns the logical or of this LongValue and the given SpecificLongValue.
|
LongValue |
remainder(LongValue other)
Returns the remainder of this LongValue divided by the given LongValue.
|
LongValue |
remainder(SpecificLongValue other)
Returns the remainder of this LongValue divided by the given SpecificLongValue.
|
LongValue |
remainderOf(LongValue other)
Returns the remainder of the given LongValue divided by this LongValue.
|
LongValue |
remainderOf(SpecificLongValue other)
Returns the remainder of the given SpecificLongValue divided by this LongValue.
|
LongValue |
shiftLeft(IntegerValue other)
Returns this LongValue, shifted left by the given IntegerValue.
|
LongValue |
shiftLeft(SpecificLongValue other)
Returns this LongValue, shifted left by the given SpecificLongValue.
|
LongValue |
shiftRight(IntegerValue other)
Returns this LongValue, shifted right by the given IntegerValue.
|
LongValue |
shiftRight(SpecificLongValue other)
Returns this LongValue, shifted right by the given SpecificLongValue.
|
LongValue |
subtract(LongValue other)
Returns the difference of this LongValue and the given LongValue.
|
LongValue |
subtract(SpecificLongValue other)
Returns the difference of this LongValue and the given SpecificLongValue.
|
LongValue |
subtractFrom(LongValue other)
Returns the difference of the given LongValue and this LongValue.
|
LongValue |
subtractFrom(SpecificLongValue other)
Returns the difference of the given SpecificLongValue and this LongValue.
|
LongValue |
unsignedShiftRight(IntegerValue other)
Returns this unsigned LongValue, shifted left by the given IntegerValue.
|
LongValue |
unsignedShiftRight(SpecificLongValue other)
Returns this unsigned LongValue, shifted right by the given SpecificLongValue.
|
LongValue |
xor(LongValue other)
Returns the logical xor of this LongValue and the given LongValue.
|
LongValue |
xor(SpecificLongValue other)
Returns the logical xor of this LongValue and the given SpecificLongValue.
|
add, and, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, generalize, generalize, internalType, longValue, multiply, or, remainder, remainderOf, shiftLeft, shiftRight, subtract, subtractFrom, unsignedShiftRight, value, xor
category2Value, isCategory2
category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, referenceValue
public LongValue negate()
LongValue
public IntegerValue convertToInteger()
LongValue
convertToInteger
in class LongValue
public FloatValue convertToFloat()
LongValue
convertToFloat
in class LongValue
public DoubleValue convertToDouble()
LongValue
convertToDouble
in class LongValue
public LongValue generalize(LongValue other)
LongValue
generalize
in class LongValue
public LongValue add(LongValue other)
LongValue
public LongValue subtract(LongValue other)
LongValue
public LongValue subtractFrom(LongValue other)
LongValue
subtractFrom
in class LongValue
public LongValue multiply(LongValue other)
LongValue
public LongValue divide(LongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue divideOf(LongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue remainder(LongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue remainderOf(LongValue other) throws java.lang.ArithmeticException
LongValue
remainderOf
in class LongValue
java.lang.ArithmeticException
public LongValue shiftLeft(IntegerValue other)
LongValue
public LongValue shiftRight(IntegerValue other)
LongValue
shiftRight
in class LongValue
public LongValue unsignedShiftRight(IntegerValue other)
LongValue
unsignedShiftRight
in class LongValue
public LongValue and(LongValue other)
LongValue
public LongValue or(LongValue other)
LongValue
public LongValue xor(LongValue other)
LongValue
public IntegerValue compare(LongValue other)
LongValue
public LongValue generalize(SpecificLongValue other)
LongValue
generalize
in class LongValue
public LongValue add(SpecificLongValue other)
LongValue
public LongValue subtract(SpecificLongValue other)
LongValue
public LongValue subtractFrom(SpecificLongValue other)
LongValue
subtractFrom
in class LongValue
public LongValue multiply(SpecificLongValue other)
LongValue
public LongValue divide(SpecificLongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue divideOf(SpecificLongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue remainder(SpecificLongValue other) throws java.lang.ArithmeticException
LongValue
public LongValue remainderOf(SpecificLongValue other) throws java.lang.ArithmeticException
LongValue
remainderOf
in class LongValue
java.lang.ArithmeticException
public LongValue shiftLeft(SpecificLongValue other)
LongValue
public LongValue shiftRight(SpecificLongValue other)
LongValue
shiftRight
in class LongValue
public LongValue unsignedShiftRight(SpecificLongValue other)
LongValue
unsignedShiftRight
in class LongValue
public LongValue and(SpecificLongValue other)
LongValue
public LongValue or(SpecificLongValue other)
LongValue
public LongValue xor(SpecificLongValue other)
LongValue
public IntegerValue compare(SpecificLongValue other)
LongValue
public boolean isSpecific()
Value
isSpecific
in class Value
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object