| java.lang.Object de.uka.ilkd.key.proof.decproc.smtlib.Term de.uka.ilkd.key.proof.decproc.smtlib.NumberConstantTerm
NumberConstantTerm | final public class NumberConstantTerm extends Term (Code) | | Represents a non negative integer number constant as defined in the SMT-Lib specification
and specialized in the (QF_)AUFLIA sublogic. Thereby number constants are terms.
NumberConstantTerms are immutable; their attribute values cannot be changed after they are
created. Due to this immutability, created instances of this class can be cached internally
author: akuwertz version: 1.5, 01/31/2006 (Added support for BigIntegers) |
NumberConstantTerm | public NumberConstantTerm(BigInteger numberConstant)(Code) | | Creates a new NumberConstantTerm, representing an non negative integer constant
Parameters: numberConstant - the integer constant to be represented throws: IllegalArgumentException - if numberConstant is negative |
getInstance | public static NumberConstantTerm getInstance(BigInteger numberConstant)(Code) | | A factory method that returns an instance of NumberConstantTerm, which represents
the specified non negative integer constant.
Calling this method has mostly the same effect as using the constructor of
NumberConstantTerm, with the only difference that this method caches the created
objects. This means that every object returned by this method is cached internally; successive
calls of this method with same integer arguments result in same NumberConstantTerm
objects.
This cache is provided to reduce memory footprint. It can be cleared using the
clearNumConstCache() method
Parameters: numberConstant - the BigInteger number constant to be represented a NumberConstantTerm representing the specified number constant throws: IllegalArgumentException - if numberConstant is negative See Also: NumberConstantTerm.clearNumConstCache() |
hashCode | public int hashCode()(Code) | | |
Fields inherited from de.uka.ilkd.key.proof.decproc.smtlib.Term | final protected static Vector marker(Code)(Java Doc)
|
|
|