public static class IndexMap.MapIndexMap<K,V> extends IndexMap<K,V> implements java.util.Map<K,V>
IndexMap.ListIndexMap<K,V>, IndexMap.MapIndexMap<K,V>
Constructor and Description |
---|
MapIndexMap()
Create a new map interface index map.
|
MapIndexMap(java.util.List<K> list,
java.util.Map<K,V> map)
Create a new map interface index map.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone an index map.
|
V |
remove(java.lang.Object key)
Removes the mapping for this key from this map if it is present.
|
add, add, add, add, addAll, addAll, clear, contains, containsAll, containsKey, containsValue, entrySet, equals, get, get, getAsList, getAsMap, getKey, getKeys, getKeys, getObjects, getObjects, hashCode, indexOf, isEmpty, iterator, keySet, lastIndexOf, listIterator, listIterator, put, putAll, remove, removeAll, removeKey, removeValue, replace, retainAll, set, size, subList, toArray, toArray, toString, values
public V remove(java.lang.Object key)
remove
in interface java.util.Map<K,V>
key
- key whose mapping is to be removed from the map.java.lang.ClassCastException
- if the key is of an inappropriate type for
this map (optional).java.lang.NullPointerException
- if the key is