com.hp.hpl.jena.sparql.engine.binding
Class BindingFixed

java.lang.Object
  extended by com.hp.hpl.jena.sparql.engine.binding.BindingWrapped
      extended by com.hp.hpl.jena.sparql.engine.binding.BindingFixed
All Implemented Interfaces:
Binding

public class BindingFixed
extends BindingWrapped

A binding that is fixed - used in calculating DISTINCT result sets. .hashCode and .equals are overridden for content equality semantics (where "equality" means Node.equals, not Node.sameValueAs).


Constructor Summary
BindingFixed(Binding binding)
           
 
Method Summary
 void add(Var var, com.hp.hpl.jena.graph.Node node)
          Add a (var, value) pair- the value must not be null
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.binding.BindingWrapped
addAll, contains, get, getParent, getWrapped, isEmpty, size, toString, vars
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingFixed

public BindingFixed(Binding binding)
Method Detail

add

public void add(Var var,
                com.hp.hpl.jena.graph.Node node)
Description copied from interface: Binding
Add a (var, value) pair- the value must not be null

Specified by:
add in interface Binding
Overrides:
add in class BindingWrapped

equals

public boolean equals(Object obj)
Overrides:
equals in class BindingWrapped

hashCode

public int hashCode()
Overrides:
hashCode in class BindingWrapped


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.