Class Term
java.lang.Object
edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Term
Implementation of a logic Term. A Term is either a Variable or a Constant. E.g.: variable "x", constant "1" The
distinction between Variables and Users is done through the subclass This class is a ValueObject. Hence, the same
Term can be safely reused among several Atoms, or Built-in literals.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> T
accept
(LogicSchemaVisitor<T> visitor) abstract Term
applySubstitution
(Substitution substitution) boolean
getName()
int
hashCode()
boolean
boolean