Package soot.jimple
Class NumericConstant
- java.lang.Object
-
- soot.jimple.Constant
-
- soot.jimple.NumericConstant
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,ConvertToBaf,Switchable,Value
- Direct Known Subclasses:
ArithmeticConstant,RealConstant
public abstract class NumericConstant extends Constant
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumericConstant()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NumericConstantadd(NumericConstant c)abstract NumericConstantdivide(NumericConstant c)abstract NumericConstantequalEqual(NumericConstant c)abstract NumbergetNumericValue()abstract NumericConstantgreaterThan(NumericConstant c)abstract NumericConstantgreaterThanOrEqual(NumericConstant c)abstract booleanisLessThan(NumericConstant c)abstract NumericConstantlessThan(NumericConstant c)abstract NumericConstantlessThanOrEqual(NumericConstant c)abstract NumericConstantmultiply(NumericConstant c)abstract NumericConstantnegate()abstract NumericConstantnotEqual(NumericConstant c)abstract NumericConstantremainder(NumericConstant c)abstract NumericConstantsubtract(NumericConstant c)-
Methods inherited from class soot.jimple.Constant
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface soot.util.Switchable
apply
-
-
-
-
Method Detail
-
add
public abstract NumericConstant add(NumericConstant c)
-
subtract
public abstract NumericConstant subtract(NumericConstant c)
-
multiply
public abstract NumericConstant multiply(NumericConstant c)
-
divide
public abstract NumericConstant divide(NumericConstant c)
-
remainder
public abstract NumericConstant remainder(NumericConstant c)
-
equalEqual
public abstract NumericConstant equalEqual(NumericConstant c)
-
notEqual
public abstract NumericConstant notEqual(NumericConstant c)
-
isLessThan
public abstract boolean isLessThan(NumericConstant c)
-
lessThan
public abstract NumericConstant lessThan(NumericConstant c)
-
lessThanOrEqual
public abstract NumericConstant lessThanOrEqual(NumericConstant c)
-
greaterThan
public abstract NumericConstant greaterThan(NumericConstant c)
-
greaterThanOrEqual
public abstract NumericConstant greaterThanOrEqual(NumericConstant c)
-
negate
public abstract NumericConstant negate()
-
getNumericValue
public abstract Number getNumericValue()
-
-