public class UnknownIntegerValue extends IntegerValue
IntegerValue that is unknown.
This class handles interactions with:
- IntegerValue (in general)ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN| Constructor and Description |
|---|
UnknownIntegerValue() |
| Modifier and Type | Method and Description |
|---|---|
IntegerValue |
add(IntegerValue other)
Returns the sum of this IntegerValue and the given IntegerValue.
|
IntegerValue |
and(IntegerValue other)
Returns the logical and of this IntegerValue and the given
IntegerValue.
|
IntegerValue |
convertToByte()
Converts this IntegerValue to a byte IntegerValue.
|
IntegerValue |
convertToCharacter()
Converts this IntegerValue to a character IntegerValue.
|
DoubleValue |
convertToDouble()
Converts this IntegerValue to a DoubleValue.
|
FloatValue |
convertToFloat()
Converts this IntegerValue to a FloatValue.
|
LongValue |
convertToLong()
Converts this IntegerValue to a LongValue.
|
IntegerValue |
convertToShort()
Converts this IntegerValue to a short IntegerValue.
|
IntegerValue |
divide(IntegerValue other)
Returns the quotient of this IntegerValue and the given IntegerValue.
|
IntegerValue |
divideOf(IntegerValue other)
Returns the quotient of the given IntegerValue and this IntegerValue.
|
int |
equal(IntegerValue other)
Returns whether this IntegerValue and the given IntegerValue are equal:
NEVER, MAYBE, or ALWAYS. |
boolean |
equals(java.lang.Object object) |
IntegerValue |
generalize(IntegerValue other)
Returns the generalization of this IntegerValue and the given other
IntegerValue.
|
int |
hashCode() |
int |
lessThan(IntegerValue other)
Returns whether this IntegerValue is less than the given IntegerValue:
NEVER, MAYBE, or ALWAYS. |
int |
lessThanOrEqual(IntegerValue other)
Returns whether this IntegerValue is less than or equal to the given
IntegerValue:
NEVER, MAYBE, or
ALWAYS. |
IntegerValue |
multiply(IntegerValue other)
Returns the product of this IntegerValue and the given IntegerValue.
|
IntegerValue |
negate()
Returns the negated value of this IntegerValue.
|
IntegerValue |
or(IntegerValue other)
Returns the logical or of this IntegerValue and the given
IntegerValue.
|
IntegerValue |
remainder(IntegerValue other)
Returns the remainder of this IntegerValue divided by the given
IntegerValue.
|
IntegerValue |
remainderOf(IntegerValue other)
Returns the remainder of the given IntegerValue divided by this
IntegerValue.
|
IntegerValue |
shiftLeft(IntegerValue other)
Returns this IntegerValue, shifted left by the given IntegerValue.
|
IntegerValue |
shiftLeftOf(IntegerValue other)
Returns the given IntegerValue, shifted left by this IntegerValue.
|
LongValue |
shiftLeftOf(LongValue other)
Returns the given LongValue, shifted left by this IntegerValue.
|
IntegerValue |
shiftRight(IntegerValue other)
Returns this IntegerValue, shifted right by the given IntegerValue.
|
IntegerValue |
shiftRightOf(IntegerValue other)
Returns the given IntegerValue, shifted right by this IntegerValue.
|
LongValue |
shiftRightOf(LongValue other)
Returns the given LongValue, shifted right by this IntegerValue.
|
IntegerValue |
subtract(IntegerValue other)
Returns the difference of this IntegerValue and the given IntegerValue.
|
IntegerValue |
subtractFrom(IntegerValue other)
Returns the difference of the given IntegerValue and this IntegerValue.
|
java.lang.String |
toString() |
IntegerValue |
unsignedShiftRight(IntegerValue other)
Returns this unsigned IntegerValue, shifted left by the given
IntegerValue.
|
IntegerValue |
unsignedShiftRightOf(IntegerValue other)
Returns the given unsigned IntegerValue, shifted left by this
IntegerValue.
|
LongValue |
unsignedShiftRightOf(LongValue other)
Returns the given unsigned LongValue, shifted right by this IntegerValue.
|
IntegerValue |
xor(IntegerValue other)
Returns the logical xor of this IntegerValue and the given
IntegerValue.
|
add, add, add, add, and, and, and, and, computationalType, divide, divide, divide, divide, divideOf, divideOf, divideOf, divideOf, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, integerValue, internalType, lessThan, lessThan, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, multiply, multiply, multiply, multiply, notEqual, notEqual, notEqual, notEqual, notEqual, or, or, or, or, remainder, remainder, remainder, remainder, remainderOf, remainderOf, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtract, subtract, subtractFrom, subtractFrom, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, value, xor, xor, xor, xorcategory1Value, isCategory2category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, isParticular, isSpecific, longValue, referenceValuepublic IntegerValue negate()
IntegerValuenegate in class IntegerValuepublic IntegerValue convertToByte()
IntegerValueconvertToByte in class IntegerValuepublic IntegerValue convertToCharacter()
IntegerValueconvertToCharacter in class IntegerValuepublic IntegerValue convertToShort()
IntegerValueconvertToShort in class IntegerValuepublic LongValue convertToLong()
IntegerValueconvertToLong in class IntegerValuepublic FloatValue convertToFloat()
IntegerValueconvertToFloat in class IntegerValuepublic DoubleValue convertToDouble()
IntegerValueconvertToDouble in class IntegerValuepublic IntegerValue generalize(IntegerValue other)
IntegerValuegeneralize in class IntegerValuepublic IntegerValue add(IntegerValue other)
IntegerValueadd in class IntegerValuepublic IntegerValue subtract(IntegerValue other)
IntegerValuesubtract in class IntegerValuepublic IntegerValue subtractFrom(IntegerValue other)
IntegerValuesubtractFrom in class IntegerValuepublic IntegerValue multiply(IntegerValue other) throws java.lang.ArithmeticException
IntegerValuemultiply in class IntegerValuejava.lang.ArithmeticExceptionpublic IntegerValue divide(IntegerValue other) throws java.lang.ArithmeticException
IntegerValuedivide in class IntegerValuejava.lang.ArithmeticExceptionpublic IntegerValue divideOf(IntegerValue other) throws java.lang.ArithmeticException
IntegerValuedivideOf in class IntegerValuejava.lang.ArithmeticExceptionpublic IntegerValue remainder(IntegerValue other) throws java.lang.ArithmeticException
IntegerValueremainder in class IntegerValuejava.lang.ArithmeticExceptionpublic IntegerValue remainderOf(IntegerValue other) throws java.lang.ArithmeticException
IntegerValueremainderOf in class IntegerValuejava.lang.ArithmeticExceptionpublic IntegerValue shiftLeft(IntegerValue other)
IntegerValueshiftLeft in class IntegerValuepublic IntegerValue shiftLeftOf(IntegerValue other)
IntegerValueshiftLeftOf in class IntegerValuepublic IntegerValue shiftRight(IntegerValue other)
IntegerValueshiftRight in class IntegerValuepublic IntegerValue shiftRightOf(IntegerValue other)
IntegerValueshiftRightOf in class IntegerValuepublic IntegerValue unsignedShiftRight(IntegerValue other)
IntegerValueunsignedShiftRight in class IntegerValuepublic IntegerValue unsignedShiftRightOf(IntegerValue other)
IntegerValueunsignedShiftRightOf in class IntegerValuepublic LongValue shiftLeftOf(LongValue other)
IntegerValueshiftLeftOf in class IntegerValuepublic LongValue shiftRightOf(LongValue other)
IntegerValueshiftRightOf in class IntegerValuepublic LongValue unsignedShiftRightOf(LongValue other)
IntegerValueunsignedShiftRightOf in class IntegerValuepublic IntegerValue and(IntegerValue other)
IntegerValueand in class IntegerValuepublic IntegerValue or(IntegerValue other)
IntegerValueor in class IntegerValuepublic IntegerValue xor(IntegerValue other)
IntegerValuexor in class IntegerValuepublic int equal(IntegerValue other)
IntegerValueNEVER, MAYBE, or ALWAYS.equal in class IntegerValuepublic int lessThan(IntegerValue other)
IntegerValueNEVER, MAYBE, or ALWAYS.lessThan in class IntegerValuepublic int lessThanOrEqual(IntegerValue other)
IntegerValueNEVER, MAYBE, or
ALWAYS.lessThanOrEqual in class IntegerValuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object