java.lang.Object
org.apache.jena.sparql.core.VarExprList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addAll
(VarExprList other) void
clear()
boolean
boolean
void
forEachExpr
(BiConsumer<Var, Expr> action) Call the action for each (variable, expression) defined.void
forEachVar
(Consumer<Var> action) Call the action for each variable, in order.void
forEachVarExpr
(BiConsumer<Var, Expr> action) Call the action for each variable, in order.org.apache.jena.graph.Node
get
(Var var, Binding binding, FunctionEnv funcEnv) getExprs()
getVars()
boolean
int
hashCode()
boolean
isEmpty()
void
int
size()
toString()
void
If the variable is already in the VarExprList, replace the expression.
-
Constructor Details
-
VarExprList
-
VarExprList
public VarExprList() -
VarExprList
-
-
Method Details
-
getVars
-
getExprs
-
forEachExpr
Call the action for each (variable, expression) defined. Not called when there is no expression, just a variable. (c.f.forEachVarExpr(java.util.function.BiConsumer<org.apache.jena.sparql.core.Var, org.apache.jena.sparql.expr.Expr>)
). -
forEachVarExpr
Call the action for each variable, in order. The expression may be null. -
forEachVar
Call the action for each variable, in order. -
contains
-
hasExpr
-
getExpr
-
get
-
add
-
add
-
addAll
-
remove
-
update
If the variable is already in the VarExprList, replace the expression. This retains the list order. Otherwise, add the variable and expression. -
clear
public void clear() -
size
public int size() -
isEmpty
public boolean isEmpty() -
hashCode
public int hashCode() -
equals
-
toString
-