Package tools.refinery.logic.term
Class DataVariable<T>
java.lang.Object
tools.refinery.logic.term.Variable
tools.refinery.logic.term.AnyDataVariable
tools.refinery.logic.term.DataVariable<T>
-
Method Summary
Modifier and TypeMethodDescription<U> DataVariable<U> asDataVariable(Class<U> newType) booleanbooleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getType()inthashCode()inthashCodeWithSubstitution(int sequenceNumber) intisEquivalent(DataVariable<T> other) notEquivalent(DataVariable<T> other) renew()rewriteSubTerms(TermRewriter termRewriter) substitute(Substitution substitution) Methods inherited from class tools.refinery.logic.term.AnyDataVariable
asNodeVariable, getVariables, isDataVariable, isNodeVariable, tryGetTypeMethods inherited from class tools.refinery.logic.term.Variable
getExplicitName, getName, getUniqueName, isExplicitlyNamed, of, of, of, of, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.logic.term.AnyTerm
asType, getInputVariables, getPrivateVariables, getVariables
-
Method Details
-
getType
-
renew
- Specified by:
renewin classAnyDataVariable
-
renew
- Specified by:
renewin classAnyDataVariable
-
asDataVariable
- Specified by:
asDataVariablein classVariable
-
evaluate
-
rewriteSubTerms
- Specified by:
rewriteSubTermsin interfaceAnyTerm- Specified by:
rewriteSubTermsin interfaceTerm<T>
-
substitute
- Specified by:
substitutein interfaceAnyTerm- Specified by:
substitutein interfaceTerm<T>
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceAnyTerm- Overrides:
equalsWithSubstitutionin classAnyDataVariable
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceAnyTerm
-
hashCodeWithSubstitution
public int hashCodeWithSubstitution(int sequenceNumber) - Specified by:
hashCodeWithSubstitutionin classVariable
-
assign
-
equals
-
hashCode
public int hashCode() -
isEquivalent
-
notEquivalent
-