Modifier | Constructor and Description |
---|---|
protected |
CondExprImpl()
The default constructor.
|
protected |
CondExprImpl(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 CondExprImpl (e.g., ic >= sl)
|
CondExprImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this CondExprImpl
for equality.
|
Object[] |
getChildren() |
ListTerm<Expr> |
getExpr()
Returns the Expr elements.
|
Expr |
getLeftExpr() |
Pred |
getPred()
Returns the Pred element.
|
Expr |
getRightExpr() |
int |
hashCode()
Returns the hash code value for this CondExprImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setPred(Pred pred)
Sets the Pred element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toString
protected CondExprImpl()
object factory
.protected CondExprImpl(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 CondExprImpl create(Object[] args)
public Object[] getChildren()
getChildren
in interface Term
public static long instanceCount()
public void setPred(Pred pred)
CondExpr
setPred
in interface CondExpr
pred
- the Pred element.CondExpr.getPred()
public ListTerm<Expr> getExpr()
CondExpr
Returns the Expr elements.
To add or remove elements, use the methods provided by the List interface (that's why there is no need for a setter method).
public Expr getLeftExpr()
getLeftExpr
in interface CondExpr
public Expr getRightExpr()
getRightExpr
in interface CondExpr
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.