|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.engine.binding.BindingBase
com.hp.hpl.jena.sparql.engine.binding.BindingHashMap
public class BindingHashMap
A muatable mapping from a name to a value such that we can create a tree of levels with higher (earlier levels) being shared. Looking up a name is done by looking in the current level, then trying the parent is not found.
Constructor Summary | |
---|---|
BindingHashMap()
Using BindingFactory.create is better |
|
BindingHashMap(Binding parent)
Using BindingFactory.create is better |
Method Summary | |
---|---|
void |
add(Var var,
Node node)
Add a (var,value) - the node value is never null |
void |
addAll(Binding other)
Add all the (var, value) pairs from another binding |
boolean |
contains1(Var var)
|
Node |
get1(Var var)
|
Iterator<Var> |
vars1()
Iterate over all the names of variables. |
Methods inherited from class com.hp.hpl.jena.sparql.engine.binding.BindingBase |
---|
contains, equals, equals, format1, get, getParent, hashCode, hashCode, isEmpty, size, toString, toString1, vars |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.sparql.engine.binding.Binding |
---|
contains, get, isEmpty, size, vars |
Constructor Detail |
---|
public BindingHashMap(Binding parent)
public BindingHashMap()
Method Detail |
---|
public Iterator<Var> vars1()
public boolean contains1(Var var)
public Node get1(Var var)
public final void add(Var var, Node node)
add
in interface BindingMap
public final void addAll(Binding other)
BindingMap
addAll
in interface BindingMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |