Interface Binding
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleBinding
A named value binding.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares a binding object to another object.getName()Gets the name of the binding (e.g. the variable name).getValue()Gets the value of the binding.inthashCode()The hash code of a binding is defined as the bit-wise XOR of the hash codes of its name and value:
-
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
-
hashCode
-