Modifier | Constructor and Description |
---|---|
protected |
NumExprImpl()
The default constructor.
|
protected |
NumExprImpl(BaseFactory factory) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> v)
Accepts a visitor.
|
static boolean |
countingFinaliser()
public attribute determining whether to log to the
standard output information about who is creating
this instance of NumExprImpl (e.g., ic >= sl)
|
NumExprImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this NumExprImpl
for equality.
|
Object[] |
getChildren() |
Numeral |
getNumeral()
Returns the Numeral element.
|
BigInteger |
getValue()
This is a convenience method.
|
ZNumeral |
getZNumeral()
This is a convenience method.
|
int |
hashCode()
Returns the hash code value for this NumExprImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setNumeral(Numeral numeral)
Sets the Numeral element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toString
protected NumExprImpl()
object factory
.protected NumExprImpl(BaseFactory factory)
public static boolean countingFinaliser()
public static long instancesFinalised()
public boolean equals(Object obj)
public int hashCode()
public <R> R accept(Visitor<R> v)
public NumExprImpl create(Object[] args)
public Object[] getChildren()
getChildren
in interface Term
public static long instanceCount()
public Numeral getNumeral()
NumExpr
getNumeral
in interface NumExpr
public void setNumeral(Numeral numeral)
NumExpr
setNumeral
in interface NumExpr
numeral
- the Numeral element.NumExpr.getNumeral()
public ZNumeral getZNumeral()
getZNumeral
in interface NumExpr
public BigInteger getValue()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.