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>
- All Implemented Interfaces:
AnyTerm,AssignedValue<T>,Term<T>
-
Method Summary
Modifier and TypeMethodDescription<U> DataVariable<U> asDataVariable(Class<U> newType) assign(AssignedValue<T> value) booleanbooleanequalsWithSubstitution(LiteralEqualityHelper helper, AnyTerm other) getType()inthashCode()inthashCodeWithSubstitution(int sequenceNumber) intisEquivalent(DataVariable<T> other) notEquivalent(DataVariable<T> other) renew()substitute(Substitution substitution) Methods inherited from class tools.refinery.logic.term.AnyDataVariable
asNodeVariable, getInputVariables, 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
getInputVariables
-
Method Details
-
getType
-
renew
- Specified by:
renewin classAnyDataVariable
-
renew
- Specified by:
renewin classAnyDataVariable
-
asDataVariable
- Specified by:
asDataVariablein classVariable
-
evaluate
-
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
-