public class DBConstantImpl extends AbstractNonNullConstant implements DBConstant
| Constructor and Description |
|---|
DBConstantImpl(String value,
DBTermType termType) |
| Modifier and Type | Method and Description |
|---|---|
Term |
clone() |
boolean |
equals(Object other)
This method directly refers to the notion of strict-equality.
|
IncrementalEvaluation |
evaluateStrictEq(ImmutableTerm otherTerm,
VariableNullability variableNullability) |
DBTermType |
getType() |
String |
getValue() |
Stream<Variable> |
getVariableStream() |
int |
hashCode() |
boolean |
isGround() |
String |
toString()
TODO: should we print differently?
|
evaluateIsNotNull, isNullablesimplify, simplifyfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalType, inferType, isNullisDeterministicevaluateIsNotNull, isNullable, simplify, simplifypublic DBConstantImpl(String value, DBTermType termType)
public DBTermType getType()
getType in interface DBConstantgetType in interface NonNullConstantpublic boolean isGround()
isGround in interface ImmutableTermpublic Stream<Variable> getVariableStream()
getVariableStream in interface ImmutableTermpublic String toString()
public boolean equals(Object other)
public IncrementalEvaluation evaluateStrictEq(ImmutableTerm otherTerm, VariableNullability variableNullability)
evaluateStrictEq in interface ImmutableTermCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.