Class AbstractCompoundTerm
java.lang.Object
com.parctechnologies.eclipse.AbstractCompoundTerm
- All Implemented Interfaces:
CompoundTerm
- Direct Known Subclasses:
Atom, CompoundTermImpl
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCompoundTerm(String functor, int arity) Construct an AbstractCompoundTerm with a given functor and arity. -
Method Summary
Methods inherited from interface CompoundTerm
arg
-
Constructor Details
-
AbstractCompoundTerm
Construct an AbstractCompoundTerm with a given functor and arity.
-
-
Method Details
-
functor
-
arity
-
equals
Overridesequals()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 ofequals()return true between each of this object's arguments and the corresponding argument of the parameter object. -
hashCode
-