public interface SimpleMap<V>
| Modifier and Type | Method and Description |
|---|---|
V |
get(String key)
Returns the value to which this map maps the specified key.
|
V |
put(String key,
V value)
Associates the specified value with the specified key in this map.
|
int |
size()
Returns the number of key-value mappings in this map.
|
V get(String key) throws IllegalArgumentException
key - The key whose associated value is to be returned.IllegalArgumentException - Thrown if the key or value is not validV put(String key, V value) throws IllegalArgumentException
key - The key with which the specified value is to be associated.value - The value to be associated with the specified key.IllegalArgumentException - Thrown if the key or value is not validint size()
Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.