public class PropertyKey<T>
extends java.lang.Object
| Constructor and Description |
|---|
PropertyKey (java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
T |
get (PropertySet container)
Get the value associated with this key in a given
PropertySet. |
T |
get (PropertySet container,
T defaultValue)
Get the value associated with this key in a given
PropertySet. |
void |
set (PropertySet container,
T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic PropertyKey(java.lang.String name)
public T get(PropertySet container, T defaultValue)
PropertySet.
Return defaultValue if there is no association for this key.public final T get(PropertySet container)
PropertySet.
Return null if there is no association for this key.public void set(PropertySet container, T value)