Class Constant
java.lang.Object
edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Term
edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Constant
Implementation of a logic constant. E.g.: `Socrates`, 4, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(LogicSchemaVisitor<T> visitor) applySubstitution
(Substitution substitution) boolean
toString()
Methods inherited from class edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Term
equals, getName, hashCode, isVariable
-
Constructor Details
-
Constant
-
-
Method Details
-
applySubstitution
- Specified by:
applySubstitution
in classTerm
-
toString
-
accept
-
isConstant
public boolean isConstant()- Overrides:
isConstant
in classTerm
-