Package jason.asSyntax
Interface Term
- All Superinterfaces:
Cloneable
,Comparable<Term>
,Serializable
,ToDOM
,ToJson
- All Known Subinterfaces:
ListTerm
,LogicalFormula
,MapTerm
,NumberTerm
,ObjectTerm
,PlanBody
,SetTerm
,StringTerm
- All Known Implementing Classes:
ArithExpr
,ArithFunctionTerm
,Atom
,BinaryStructure
,CyclicTerm
,DefaultTerm
,InternalActionLiteral
,ListTermImpl
,Literal
,LiteralImpl
,LogExpr
,MapTermImpl
,NumberTermImpl
,ObjectTermImpl
,Plan
,PlanBodyImpl
,Pred
,RelExpr
,Rule
,SetTermImpl
,StringTermImpl
,Structure
,Trigger
,UnnamedVar
,VarTerm
Common interface for all kind of terms
-
Method Summary
Modifier and TypeMethodDescriptionclone and applies together (and faster than clone and then apply)clone()
clone in another namespacevoid
boolean
boolean
boolean
boolean
isAtom()
boolean
boolean
isGround()
boolean
boolean
isList()
boolean
boolean
isMap()
boolean
boolean
boolean
isPred()
boolean
isRule()
boolean
isSet()
boolean
isString()
boolean
boolean
boolean
isVar()
void
Removes the value cached for hashCodeboolean
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface jason.util.ToJson
getAsJson, getAsJsonStr
-
Method Details
-
isVar
boolean isVar() -
isUnnamedVar
boolean isUnnamedVar() -
isLiteral
boolean isLiteral() -
isRule
boolean isRule() -
isList
boolean isList() -
isSet
boolean isSet() -
isMap
boolean isMap() -
isString
boolean isString() -
isInternalAction
boolean isInternalAction() -
isArithExpr
boolean isArithExpr() -
isNumeric
boolean isNumeric() -
isPred
boolean isPred() -
isGround
boolean isGround() -
isStructure
boolean isStructure() -
isAtom
boolean isAtom() -
isPlanBody
boolean isPlanBody() -
isCyclicTerm
boolean isCyclicTerm() -
hasVar
-
getCyclicVar
VarTerm getCyclicVar() -
countVars
-
clone
Term clone() -
equals
-
subsumes
-
capply
clone and applies together (and faster than clone and then apply) -
cloneNS
clone in another namespace -
setSrcInfo
Removes the value cached for hashCode -
getSrcInfo
SourceInfo getSrcInfo()
-