public interface MapList<M,L>
extends Map<M,List<L>>
| Modifier and Type | Method and Description |
|---|---|
void |
add(M key,
int index,
L value)
Inserts value to mapped list at index.
|
void |
add(M key,
L value)
Adds value to mapped list.
|
List<L> |
get(Object key)
Returns mapped list or null if not found.
|
List<L> |
set(M key,
Collection<L> value)
Replaces mapped list with collection.
|