public class BindingImpl extends java.lang.Object implements Binding
Binding interface.| Constructor and Description |
|---|
BindingImpl(java.lang.String name,
Value value)
Creates a binding object with the supplied name and value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares a binding object to another object.
|
java.lang.String |
getName()
Gets the name of the binding (e.g.
|
Value |
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:
|
java.lang.String |
toString() |
public BindingImpl(java.lang.String name,
Value value)
name - The binding's name.value - The binding's value.public java.lang.String getName()
Bindingpublic Value getValue()
Bindingpublic boolean equals(java.lang.Object o)
Bindingpublic int hashCode()
Bindingname.hashCode() ˆ value.hashCode().
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2014 Aduna. All Rights Reserved.