public interface NonNullConstant extends Constant
| Modifier and Type | Method and Description |
|---|---|
default Optional<TermType> |
getOptionalType()
Empty if and only if is null.
|
TermType |
getType() |
default Optional<TermTypeInference> |
inferType()
Returns empty when no TermType has been inferred (missing information or fatal error)
and no non-fatal error has been detected.
|
default boolean |
isNull()
Returns true if and only if the term is a NULL Constant.
|
getValue, isDeterministicevaluateIsNotNull, evaluateStrictEq, getVariableStream, isGround, isNullable, simplify, simplifyTermType getType()
default Optional<TermType> getOptionalType()
ConstantgetOptionalType in interface Constantdefault boolean isNull()
ImmutableTermisNull in interface ImmutableTermdefault Optional<TermTypeInference> inferType()
ImmutableTerminferType in interface ImmutableTermCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.