java.lang.Object
org.apache.jena.sparql.core.VarExprList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddAll(VarExprList other) voidclear()booleanbooleanvoidforEachExpr(BiConsumer<Var, Expr> action) Call the action for each (variable, expression) defined.voidforEachVar(Consumer<Var> action) Call the action for each variable, in order.voidforEachVarExpr(BiConsumer<Var, Expr> action) Call the action for each variable, in order.org.apache.jena.graph.Nodeget(Var var, Binding binding, FunctionEnv funcEnv) getExprs()getVars()booleaninthashCode()booleanisEmpty()voidintsize()toString()voidIf 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
-