public class IntConstant extends ArithmeticConstant
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
IntConstant(int value) |
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toStringpublic static IntConstant v(int value)
public boolean equals(java.lang.Object c)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic NumericConstant add(NumericConstant c)
add in class NumericConstantpublic NumericConstant subtract(NumericConstant c)
subtract in class NumericConstantpublic NumericConstant multiply(NumericConstant c)
multiply in class NumericConstantpublic NumericConstant divide(NumericConstant c)
divide in class NumericConstantpublic NumericConstant remainder(NumericConstant c)
remainder in class NumericConstantpublic NumericConstant equalEqual(NumericConstant c)
equalEqual in class NumericConstantpublic NumericConstant notEqual(NumericConstant c)
notEqual in class NumericConstantpublic NumericConstant lessThan(NumericConstant c)
lessThan in class NumericConstantpublic NumericConstant lessThanOrEqual(NumericConstant c)
lessThanOrEqual in class NumericConstantpublic NumericConstant greaterThan(NumericConstant c)
greaterThan in class NumericConstantpublic NumericConstant greaterThanOrEqual(NumericConstant c)
greaterThanOrEqual in class NumericConstantpublic NumericConstant negate()
negate in class NumericConstantpublic ArithmeticConstant and(ArithmeticConstant c)
and in class ArithmeticConstantpublic ArithmeticConstant or(ArithmeticConstant c)
or in class ArithmeticConstantpublic ArithmeticConstant xor(ArithmeticConstant c)
xor in class ArithmeticConstantpublic ArithmeticConstant shiftLeft(ArithmeticConstant c)
shiftLeft in class ArithmeticConstantpublic ArithmeticConstant shiftRight(ArithmeticConstant c)
shiftRight in class ArithmeticConstantpublic ArithmeticConstant unsignedShiftRight(ArithmeticConstant c)
unsignedShiftRight in class ArithmeticConstantpublic java.lang.String toString()
toString in class java.lang.Objectpublic Type getType()
Valuepublic void apply(Switch sw)
Switchable