|
||||||||||
| 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.BindingWrapped
public class BindingWrapped
A binding that wraps another.
| Constructor Summary | |
|---|---|
BindingWrapped(Binding other)
|
|
| Method Summary | |
|---|---|
void |
add(Var var,
com.hp.hpl.jena.graph.Node node)
Add a (var, value) pair- the value must not be null |
void |
addAll(Binding other)
|
boolean |
contains(Var var)
Test whether a variable is bound to some object |
boolean |
equals(java.lang.Object other)
|
com.hp.hpl.jena.graph.Node |
get(Var var)
Return the object bound to a variable, or null |
Binding |
getParent()
|
Binding |
getWrapped()
|
int |
hashCode()
|
boolean |
isEmpty()
Is this an empty binding? No variables. |
int |
size()
Number of (var, value) pairs. |
java.lang.String |
toString()
|
java.util.Iterator<Var> |
vars()
Iterate over all variables of this binding. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BindingWrapped(Binding other)
| Method Detail |
|---|
public Binding getWrapped()
public void add(Var var,
com.hp.hpl.jena.graph.Node node)
Binding
add in interface Bindingpublic void addAll(Binding other)
addAll in interface Bindingpublic boolean contains(Var var)
Binding
contains in interface Bindingpublic com.hp.hpl.jena.graph.Node get(Var var)
Binding
get in interface Bindingpublic Binding getParent()
getParent in interface Bindingpublic java.util.Iterator<Var> vars()
Binding
vars in interface Bindingpublic java.lang.String toString()
toString in class java.lang.Objectpublic int size()
Binding
size in interface Bindingpublic boolean isEmpty()
Binding
isEmpty in interface Bindingpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||