|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.ConstructedTerm
public class ConstructedTerm
Simple implementation of the IConstructedTerm.
$Id$
| Method Summary | |
|---|---|
int |
compareTo(ITerm o)
|
boolean |
equals(Object o)
|
String |
getFunctionSymbol()
Get the name of the constructed term (function symbol). |
List<ITerm> |
getParameters()
Returns a list of all terms from this constructed term (function symbol). |
List<ITerm> |
getValue()
Returns a vale of the term. |
Set<IVariable> |
getVariables()
Returns all distinct variables from this tuple. |
int |
hashCode()
|
boolean |
isGround()
Checks whether the term is ground (a term with no variables). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getFunctionSymbol()
IConstructedTerm
getFunctionSymbol in interface IConstructedTermpublic List<ITerm> getParameters()
IConstructedTerm
getParameters in interface IConstructedTermpublic List<ITerm> getValue()
ITerm
getValue in interface IConstructedTermgetValue in interface ITermpublic boolean isGround()
ITerm
isGround in interface ITermtrue if the term is ground,
otherwise false.public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int compareTo(ITerm o)
compareTo in interface Comparable<ITerm>public Set<IVariable> getVariables()
IConstructedTerm
getVariables in interface IConstructedTerm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||