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, xorcategory2Value, isCategory2category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, referenceValuepublic LongValue negate()
LongValuepublic IntegerValue convertToInteger()
LongValueconvertToInteger in class LongValuepublic FloatValue convertToFloat()
LongValueconvertToFloat in class LongValuepublic DoubleValue convertToDouble()
LongValueconvertToDouble in class LongValuepublic LongValue generalize(LongValue other)
LongValuegeneralize in class LongValuepublic LongValue add(LongValue other)
LongValuepublic LongValue subtract(LongValue other)
LongValuepublic LongValue subtractFrom(LongValue other)
LongValuesubtractFrom in class LongValuepublic LongValue multiply(LongValue other)
LongValuepublic LongValue divide(LongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue divideOf(LongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue remainder(LongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue remainderOf(LongValue other) throws java.lang.ArithmeticException
LongValueremainderOf in class LongValuejava.lang.ArithmeticExceptionpublic LongValue shiftLeft(IntegerValue other)
LongValuepublic LongValue shiftRight(IntegerValue other)
LongValueshiftRight in class LongValuepublic LongValue unsignedShiftRight(IntegerValue other)
LongValueunsignedShiftRight in class LongValuepublic LongValue and(LongValue other)
LongValuepublic LongValue or(LongValue other)
LongValuepublic LongValue xor(LongValue other)
LongValuepublic IntegerValue compare(LongValue other)
LongValuepublic LongValue generalize(SpecificLongValue other)
LongValuegeneralize in class LongValuepublic LongValue add(SpecificLongValue other)
LongValuepublic LongValue subtract(SpecificLongValue other)
LongValuepublic LongValue subtractFrom(SpecificLongValue other)
LongValuesubtractFrom in class LongValuepublic LongValue multiply(SpecificLongValue other)
LongValuepublic LongValue divide(SpecificLongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue divideOf(SpecificLongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue remainder(SpecificLongValue other) throws java.lang.ArithmeticException
LongValuepublic LongValue remainderOf(SpecificLongValue other) throws java.lang.ArithmeticException
LongValueremainderOf in class LongValuejava.lang.ArithmeticExceptionpublic LongValue shiftLeft(SpecificLongValue other)
LongValuepublic LongValue shiftRight(SpecificLongValue other)
LongValueshiftRight in class LongValuepublic LongValue unsignedShiftRight(SpecificLongValue other)
LongValueunsignedShiftRight in class LongValuepublic LongValue and(SpecificLongValue other)
LongValuepublic LongValue or(SpecificLongValue other)
LongValuepublic LongValue xor(SpecificLongValue other)
LongValuepublic IntegerValue compare(SpecificLongValue other)
LongValuepublic boolean isSpecific()
ValueisSpecific in class Valuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object