public interface IVariableOrConstant<E> extends IValueExpression<E>
BOp.Annotations
Modifier and Type | Method and Description |
---|---|
boolean |
equals(IVariableOrConstant<E> o)
Return
true if this is the same variable or if both values
are Constant whose values are the same. |
E |
get()
Return the bound value.
|
String |
getName()
Return the name of a variable.
|
boolean |
isConstant()
Return
true iff this is a constant. |
boolean |
isVar()
Return
true iff this is a variable. |
get, toString
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
boolean isVar()
true
iff this is a variable.boolean isConstant()
true
iff this is a constant.boolean equals(IVariableOrConstant<E> o)
true
if this is the same variable or if both values
are Constant
whose values are the same.E get()
UnsupportedOperationException
- if this is a variable.String getName()
UnsupportedOperationException
- if this is not a variable.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.