Class BindingHashMap
- java.lang.Object
-
- org.apache.jena.sparql.engine.binding.BindingBase
-
- org.apache.jena.sparql.engine.binding.BindingHashMap
-
- All Implemented Interfaces:
Binding,BindingMap
@Deprecated public class BindingHashMap extends BindingBase implements BindingMap
Deprecated.UseBindingBuilder; avoid mutable bindings.A mutable 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
Constructors Constructor Description BindingHashMap()Deprecated.Using BindingFactory.create is betterBindingHashMap(Binding parent)Deprecated.Using BindingFactory.create is better
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(Var var, Node node)Deprecated.Add a (var,value) - the node value is never nullvoidaddAll(Binding other)Deprecated.Add all the (var, value) pairs from another bindingbooleancontains1(Var var)Deprecated.Nodeget1(Var var)Deprecated.java.util.Iterator<Var>vars1()Deprecated.Iterate over all the names of variables.
-
-
-
Constructor Detail
-
BindingHashMap
public BindingHashMap(Binding parent)
Deprecated.Using BindingFactory.create is better
-
BindingHashMap
public BindingHashMap()
Deprecated.Using BindingFactory.create is better
-
-
Method Detail
-
vars1
public java.util.Iterator<Var> vars1()
Deprecated.Iterate over all the names of variables.
-
contains1
public boolean contains1(Var var)
Deprecated.
-
add
public final void add(Var var, Node node)
Deprecated.Add a (var,value) - the node value is never null- Specified by:
addin interfaceBindingMap
-
addAll
public final void addAll(Binding other)
Deprecated.Description copied from interface:BindingMapAdd all the (var, value) pairs from another binding- Specified by:
addAllin interfaceBindingMap
-
-