All Packages Class Hierarchy This Package Previous Next Index
Class guinea.util.Binding
java.lang.Object
|
+----guinea.util.Binding
- public class Binding
- extends Object
- implements Cloneable, Serializable
Variable Index
- ·
name
- The binding's name.
- ·
value
- The binding's value.
Constructor Index
- ·
Binding(Object)
- Construct a new binding with a given value.
- ·
Binding(String)
- Construct a new binding with a given name.
- ·
Binding(String, Object)
- Construct a new binding with a given name and value.
Method Index
- ·
equals(Object)
- Compares two Objects for equality.
- ·
setValue(Object)
- Set the value of this binding.
- ·
toString()
- Get a string representation of a binding.
Variables
·
name
public final String name
- The binding's name.
·
value
public Object value
- The binding's value.
Constructors
·
Binding
public Binding(String name,
Object value)
- Construct a new binding with a given name and value.
- Parameters:
- name - binding's name.
- value - binding's value.
·
Binding
public Binding(String name)
- Construct a new binding with a given name. The value is null.
- Parameters:
- name - binding's name.
·
Binding
public Binding(Object value)
- Construct a new binding with a given value. The name is null.
- Parameters:
- value - binding's value.
Methods
·
equals
public boolean equals(Object other)
- Compares two Objects for equality.
- Parameters:
- other - the reference object with which to compare.
- Returns:
-
true
if this object is the same or equal as the other
argument; false
otherwise.
- Overrides:
- equals in class Object
·
setValue
public synchronized void setValue(Object value)
- Set the value of this binding.
- Parameters:
- value - a new value.
·
toString
public String toString()
- Get a string representation of a binding.
- Returns:
- a string.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index