public interface NameValueReferableMap<T> extends java.util.Map<java.lang.String,NameValueReferable<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
getOne()
Gets the value of the the single NameValueReferable object in the map if there is only one object
contained in the map.
|
T |
getValue(java.lang.String name)
Gets the value of the NameValueReferable object associated with the specified name.
|
NameValueReferable<T> |
put(NameValueReferable<T> ref)
Puts a NameValueReferable object into the Map.
|
void |
setValue(java.lang.String name,
T obj)
Sets the value of NameValueReferable object.
|
T getOne()
T getValue(java.lang.String name)
name - the name of the NameValueReferable objectvoid setValue(java.lang.String name,
T obj)
name - the nameobj - the valueNameValueReferable<T> put(NameValueReferable<T> ref)
ref - the NameValueReferable object to be put into the Map