|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,V>
org.zkoss.web.servlet.xel.StringKeysMap<V>
public abstract class StringKeysMap<V>
A skeletal implementation for Map to wrap something with enumeration of keys, which must be String.
| Nested Class Summary | |
|---|---|
class |
StringKeysMap.EntryIter
The iterator class used to iterator the entries in this map. |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
StringKeysMap()
|
|
| Method Summary | |
|---|---|
boolean |
containsKey(Object key)
|
V |
get(Object key)
|
protected abstract Enumeration<String> |
getKeys()
Returns an enumeration of keys. |
protected abstract V |
getValue(String key)
Returns the value associated with the specified key. |
protected abstract void |
removeValue(String key)
Removes the specified key. |
protected abstract void |
setValue(String key,
V value)
Sets the value associated with the specified key. |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, clone, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringKeysMap()
| Method Detail |
|---|
public boolean containsKey(Object key)
containsKey in interface Map<String,V>containsKey in class AbstractMap<String,V>public V get(Object key)
get in interface Map<String,V>get in class AbstractMap<String,V>protected abstract V getValue(String key)
protected abstract Enumeration<String> getKeys()
protected abstract void setValue(String key,
V value)
protected abstract void removeValue(String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||