Class VarExprList

java.lang.Object
org.apache.jena.sparql.core.VarExprList

public class VarExprList extends Object
  • Constructor Details

    • VarExprList

      public VarExprList(List<Var> vars)
    • VarExprList

      public VarExprList(VarExprList other)
    • VarExprList

      public VarExprList()
    • VarExprList

      public VarExprList(Var var, Expr expr)
  • Method Details

    • getVars

      public List<Var> getVars()
    • getExprs

      public Map<Var,Expr> getExprs()
    • forEachExpr

      public void forEachExpr(BiConsumer<Var,Expr> action)
      Call the action for each (variable, expression) defined. Not called when there is no expression, just a variable. Not order preserving.
    • forEachVarExpr

      public void forEachVarExpr(BiConsumer<Var,Expr> action)
      Call the action for each variable, in order. The expression may be null. Not called when there is no expression, just a variable.
    • forEachVar

      public void forEachVar(Consumer<Var> action)
      Call the action for each variable, in order.
    • contains

      public boolean contains(Var var)
    • hasExpr

      public boolean hasExpr(Var var)
    • getExpr

      public Expr getExpr(Var var)
    • get

      public Node get(Var var, Binding binding, FunctionEnv funcEnv)
    • add

      public void add(Var var)
    • add

      public void add(Var var, Expr expr)
    • addAll

      public void addAll(VarExprList other)
    • remove

      public void remove(Var var)
    • clear

      public void clear()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object