|
||||||||||
| 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
public abstract class BindingBase
Machinary encapsulating a mapping from a name to a value. The "parent" is a shared, immutable, common set of bindings. An association of var/node must not override a setting in the parent.
BindingFactory,
for mutable bindings.| Method Summary | |
|---|---|
boolean |
contains(Var var)
Test whether a name is bound to some object |
static boolean |
equals(Binding bind1,
Binding bind2)
|
boolean |
equals(Object other)
|
void |
format1(StringBuffer sbuff)
|
com.hp.hpl.jena.graph.Node |
get(Var var)
Return the object bound to a name, or null |
Binding |
getParent()
|
int |
hashCode()
|
static int |
hashCode(Binding bind)
|
boolean |
isEmpty()
Is this an empty binding? No variables. |
int |
size()
Number of (var, value) pairs. |
String |
toString()
|
String |
toString1()
|
Iterator<Var> |
vars()
Iterate over all the names of variables. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Binding getParent()
public final Iterator<Var> vars()
vars in interface Bindingpublic final int size()
Binding
size in interface Bindingpublic boolean isEmpty()
Binding
isEmpty in interface Bindingpublic boolean contains(Var var)
contains in interface Bindingpublic final com.hp.hpl.jena.graph.Node get(Var var)
get in interface Bindingpublic String toString()
toString in class Objectpublic void format1(StringBuffer sbuff)
public String toString1()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic static int hashCode(Binding bind)
public static boolean equals(Binding bind1,
Binding bind2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||