public static class IndexMap.ListIndexMap<K,V> extends IndexMap<K,V> implements java.util.List<V>
IndexMap.ListIndexMap<K,V>, IndexMap.MapIndexMap<K,V>
Constructor and Description |
---|
ListIndexMap()
Create a new list interface index map.
|
ListIndexMap(java.util.List<K> list,
java.util.Map<K,V> map)
Create a new list interface index map.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone an index map.
|
boolean |
remove(java.lang.Object o)
Removes the first occurrence in this list of the specified element.
|
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<V>
remove
in interface java.util.List<V>
o
- element to be removed from this list, if present.java.lang.ClassCastException
- if the type of the specified element
is incompatible with this list (optional).java.lang.NullPointerException
- if the specified element is null and this
list does not support null elements (optional).