public class FunctionApplication extends PrintableX implements Term
Constructor and Description |
---|
FunctionApplication(FunctionSymbol symbol,
java.util.List<Variable> args)
Instantiates a new term node.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Term o) |
boolean |
equals(java.lang.Object other) |
java.util.List<Variable> |
getArgs() |
FunctionSymbol |
getAtom() |
FunctionSymbol |
getSymbol() |
int |
hashCode() |
void |
print(java.io.Writer out) |
void |
setArgs(java.util.List<Variable> args)
Null values are transformed to unique objects which represent the null value.
|
void |
setSymbol(FunctionSymbol atom) |
toString
public FunctionApplication(FunctionSymbol symbol, java.util.List<Variable> args)
public int compareTo(Term o)
compareTo
in interface java.lang.Comparable<Term>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.util.List<Variable> getArgs()
public FunctionSymbol getAtom()
public FunctionSymbol getSymbol()
public int hashCode()
hashCode
in class java.lang.Object
public void print(java.io.Writer out) throws java.io.IOException
public void setArgs(java.util.List<Variable> args)
public void setSymbol(FunctionSymbol atom)