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