com.hp.hpl.jena.sparql.expr
Class ExprList

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprList
All Implemented Interfaces:
Iterable<Expr>

public class ExprList
extends Object
implements Iterable<Expr>


Field Summary
static ExprList emptyList
          Empty, immutable ExprList
 
Constructor Summary
ExprList()
           
ExprList(Expr expr)
           
ExprList(ExprList other)
          Deprecated. Deprecated as a public constructor. Use copy(ExprList) instead.
ExprList(List<Expr> x)
           
 
Method Summary
 void add(Expr expr)
           
 void addAll(ExprList exprs)
           
static ExprList copy(ExprList other)
          Create a copy which does not share the list of expressions with the original
 ExprList copySubstitute(Binding binding)
           
 boolean equals(Object other)
           
 Expr get(int idx)
           
 List<Expr> getList()
           
 Set<Var> getVarsMentioned()
           
 int hashCode()
           
 boolean isEmpty()
           
 boolean isSatisfied(Binding binding, ExecutionContext execCxt)
           
 Iterator<Expr> iterator()
           
 void prepareExprs(Context context)
           
 int size()
           
static ExprList splitConjunction(ExprList exprList1)
           
 ExprList subList(int fromIdx, int toIdx)
           
 ExprList tail(int fromIdx)
           
 String toString()
           
 void varsMentioned(Collection<Var> acc)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

emptyList

public static final ExprList emptyList
Empty, immutable ExprList

Constructor Detail

ExprList

public ExprList()

ExprList

@Deprecated
public ExprList(ExprList other)
Deprecated. Deprecated as a public constructor. Use copy(ExprList) instead.


ExprList

public ExprList(Expr expr)

ExprList

public ExprList(List<Expr> x)
Method Detail

copy

public static ExprList copy(ExprList other)
Create a copy which does not share the list of expressions with the original


isSatisfied

public boolean isSatisfied(Binding binding,
                           ExecutionContext execCxt)

get

public Expr get(int idx)

size

public int size()

isEmpty

public boolean isEmpty()

subList

public ExprList subList(int fromIdx,
                        int toIdx)

tail

public ExprList tail(int fromIdx)

getVarsMentioned

public Set<Var> getVarsMentioned()

varsMentioned

public void varsMentioned(Collection<Var> acc)

copySubstitute

public ExprList copySubstitute(Binding binding)

addAll

public void addAll(ExprList exprs)

add

public void add(Expr expr)

getList

public List<Expr> getList()

iterator

public Iterator<Expr> iterator()
Specified by:
iterator in interface Iterable<Expr>

prepareExprs

public void prepareExprs(Context context)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

splitConjunction

public static ExprList splitConjunction(ExprList exprList1)


Licenced under the Apache License, Version 2.0