Modifier | Constructor and Description |
---|---|
protected |
BranchImpl()
The default constructor.
|
protected |
BranchImpl(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 BranchImpl (e.g., ic >= sl)
|
BranchImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this BranchImpl
for equality.
|
Object[] |
getChildren() |
Expr |
getExpr()
Returns the Expr element.
|
Name |
getName()
Returns the Name element.
|
ZName |
getZName()
This is a convenience method.
|
int |
hashCode()
Returns the hash code value for this BranchImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setExpr(Expr expr)
Sets the Expr element.
|
void |
setName(Name name)
Sets the Name element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toString
protected BranchImpl()
object factory
.protected BranchImpl(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 BranchImpl create(Object[] args)
public Object[] getChildren()
getChildren
in interface Term
public static long instanceCount()
public void setName(Name name)
Branch
setName
in interface Branch
name
- the Name element.Branch.getName()
public void setExpr(Expr expr)
Branch
setExpr
in interface Branch
expr
- the Expr element.Branch.getExpr()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.