|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,List<V>>
org.apache.wicket.util.collections.MultiMap<K,V>
K - V - public class MultiMap<K,V>
A simple multimap
| Constructor Summary | |
|---|---|
MultiMap()
Constructor |
|
MultiMap(int initialCapacity)
Constructor |
|
MultiMap(int initialCapacity,
float loadFactor)
Constructor |
|
MultiMap(Map<? extends K,? extends List<V>> m)
Constructor |
|
| Method Summary | |
|---|---|
void |
addValue(K key,
V value)
Adds value to the specified key |
V |
getFirstValue(K key)
Gets the first value in the value list |
void |
removeValue(K key,
V value)
Removes value from the specified key |
void |
replaceValues(K key,
V value)
Replaces all existing values with the specified value. |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public MultiMap()
HashMap.HashMap()
public MultiMap(int initialCapacity,
float loadFactor)
initialCapacity - loadFactor - HashMap.HashMap(int, float)public MultiMap(int initialCapacity)
initialCapacity - HashMap.HashMap(int)public MultiMap(Map<? extends K,? extends List<V>> m)
m - HashMap.HashMap(Map)| Method Detail |
|---|
public void addValue(K key,
V value)
key - value -
public void removeValue(K key,
V value)
key - value -
public void replaceValues(K key,
V value)
key - value - public V getFirstValue(K key)
key -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||