Package org.eclipse.rdf4j.query.impl
Class SimpleBinding
java.lang.Object
org.eclipse.rdf4j.query.impl.SimpleBinding
- All Implemented Interfaces:
Serializable
,Binding
An implementation of the
Binding
interface.- Author:
- Jeen Broekstra
- See Also:
-
Constructor Summary
ConstructorDescriptionSimpleBinding
(String name, Value value) Creates a binding object with the supplied name and value. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares a binding object to another object.getName()
Gets the name of the binding (e.g.getValue()
Gets the value of the binding.int
hashCode()
The hash code of a binding is defined as the bit-wise XOR of the hash codes of its name and value:toString()
-
Constructor Details
-
SimpleBinding
-
-
Method Details
-
getName
-
getValue
-
equals
Description copied from interface:Binding
Compares a binding object to another object. -
hashCode
public int hashCode()Description copied from interface:Binding
The hash code of a binding is defined as the bit-wise XOR of the hash codes of its name and value:name.hashCode() ˆ value.hashCode()
.
-
toString
-