Package org.eclipse.rdf4j.query
Interface Binding
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleBinding
A named value binding.
-
Method Summary
-
Method Details
-
getName
String getName()Gets the name of the binding (e.g. the variable name).- Returns:
- The name of the binding.
-
getValue
Value getValue()Gets the value of the binding. The returned value is never equal to null, such a "binding" is considered to be unbound.- Returns:
- The value of the binding, never null.
-
equals
Compares a binding object to another object. -
hashCode
int hashCode()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()
.
-