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, toStringprotected 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 Termpublic static long instanceCount()
public ListTerm<Name> getName()
NewOldPairReturns 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 NewOldPairpublic Name getNewName()
getNewName in interface NewOldPairpublic void setNewName(Name name)
setNewName in interface NewOldPairpublic Name getOldName()
getOldName in interface NewOldPairpublic void setOldName(Name name)
setOldName in interface NewOldPairpublic ZName getZDeclName()
NewOldPairgetZDeclName in interface NewOldPairpublic ZName getZRefName()
NewOldPairgetZRefName in interface NewOldPairCopyright © 2003–2016 Community Z Tools Project. All rights reserved.