public class ProvaAnyImpl extends ProvaTermImpl implements ProvaConstant, ProvaComputable
| Constructor and Description |
|---|
ProvaAnyImpl() |
| Modifier and Type | Method and Description |
|---|---|
ProvaObject |
cloneWithBoundVariables(java.util.List<ProvaVariable> variables,
java.util.List<java.lang.Boolean> isConstant) |
ProvaObject |
cloneWithVariables(java.util.List<ProvaVariable> variables) |
ProvaObject |
cloneWithVariables(long ruleId,
java.util.List<ProvaVariable> variables) |
int |
collectVariables(long ruleId,
java.util.List<ProvaVariable> variables) |
java.lang.Number |
compute() |
java.lang.Object |
computeIfExpression() |
ProvaObject |
computeProvaIfExpression() |
int |
computeSize() |
static ProvaAnyImpl |
create() |
java.lang.Object |
getObject() |
ProvaObject |
getRecursivelyAssigned() |
boolean |
isGround() |
boolean |
matched(ProvaConstant target) |
void |
setObject(java.lang.Object object) |
void |
substituteVariables(ProvaVariablePtr[] varsMap) |
java.lang.String |
toString() |
java.lang.String |
toString(java.util.List<ProvaVariable> variables) |
boolean |
unify(ProvaObject target,
ProvaUnification unification) |
boolean |
updateGround(java.util.List<ProvaVariable> variables) |
uniqueNamepublic static ProvaAnyImpl create()
public void setObject(java.lang.Object object)
setObject in interface ProvaConstantpublic java.lang.Object getObject()
getObject in interface ProvaConstantpublic ProvaObject getRecursivelyAssigned()
getRecursivelyAssigned in interface ProvaObjectpublic int collectVariables(long ruleId,
java.util.List<ProvaVariable> variables)
collectVariables in interface ProvaObjectpublic int computeSize()
computeSize in interface ProvaObjectpublic boolean unify(ProvaObject target, ProvaUnification unification)
unify in interface ProvaObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void substituteVariables(ProvaVariablePtr[] varsMap)
substituteVariables in interface ProvaObjectpublic boolean isGround()
isGround in interface ProvaObjectpublic java.lang.String toString(java.util.List<ProvaVariable> variables)
toString in interface ProvaObjectpublic ProvaObject cloneWithBoundVariables(java.util.List<ProvaVariable> variables, java.util.List<java.lang.Boolean> isConstant)
cloneWithBoundVariables in interface ProvaObjectpublic ProvaObject cloneWithVariables(java.util.List<ProvaVariable> variables)
cloneWithVariables in interface ProvaObjectpublic ProvaObject cloneWithVariables(long ruleId, java.util.List<ProvaVariable> variables)
cloneWithVariables in interface ProvaObjectpublic java.lang.Number compute()
compute in interface ProvaComputablepublic java.lang.Object computeIfExpression()
computeIfExpression in interface ProvaComputablecomputeIfExpression in interface ProvaObjectpublic ProvaObject computeProvaIfExpression()
computeProvaIfExpression in interface ProvaObjectpublic boolean matched(ProvaConstant target)
matched in interface ProvaConstantpublic boolean updateGround(java.util.List<ProvaVariable> variables)
updateGround in interface ProvaObjectCopyright © 2019. All Rights Reserved.