| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.parctechnologies.eclipse.AbstractCompoundTerm
public abstract class AbstractCompoundTerm
A useful superclass for objects implementing the
 CompoundTerm interface. 
 Subclass AbstractCompoundTerm if you are creating a class which implements
 CompoundTerm. This abstract class provides some of the methods required.
CompoundTerm, 
CompoundTermImpl| Constructor Summary | |
|---|---|
| AbstractCompoundTerm(java.lang.String functor,
                     int arity)Construct an AbstractCompoundTerm with a given functor and arity. | |
| Method Summary | |
|---|---|
|  int | arity()Return the arity. | 
|  boolean | equals(java.lang.Object obj)Overrides equals()in java.lang.Object. | 
|  java.lang.String | functor()Returns the functor. | 
|  int | hashCode() | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.parctechnologies.eclipse.CompoundTerm | 
|---|
| arg | 
| Constructor Detail | 
|---|
public AbstractCompoundTerm(java.lang.String functor,
                            int arity)
| Method Detail | 
|---|
public java.lang.String functor()
functor in interface CompoundTermpublic int arity()
arity in interface CompoundTermpublic boolean equals(java.lang.Object obj)
equals() in java.lang.Object. Returns true
 iff the parameter Object implements CompoundTerm and its functor and arity
 are equal to this object's and pairwise invocations of equals()
 return true between each of this object's arguments and the corresponding
 argument of the parameter object.
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||