|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleMap<K,V>
Simplified definition of the Map with only three operations: get, put and clear.
Pay attention that the method may behave slightly differently from the methods define by the Map interface, therefore it's recommended you always check the javadoc of the implementing class.
| Method Summary | |
|---|---|
void |
clear()
Removes all mappings from this map (optional operation). |
V |
get(K key)
Returns the value to which this map maps the specified key. |
V |
put(K key,
V value)
Associates the specified value with the specified key in this map. |
| Method Detail |
|---|
V get(K key)
V put(K key,
V value)
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||