Package jadex.commons.collection
Class IndexMap.ListIndexMap<K,V>
- java.lang.Object
- 
- jadex.commons.collection.IndexMap<K,V>
- 
- jadex.commons.collection.IndexMap.ListIndexMap<K,V>
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Iterable<V>,- java.util.Collection<V>,- java.util.List<V>
 
 public static class IndexMap.ListIndexMap<K,V> extends IndexMap<K,V> implements java.util.List<V> Provide access to the index map via list interface.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.commons.collection.IndexMapIndexMap.ListIndexMap<K,V>, IndexMap.MapIndexMap<K,V>
 
- 
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Clone an index map.booleanremove(java.lang.Object o)Removes the first occurrence in this list of the specified element.- 
Methods inherited from class jadex.commons.collection.IndexMapadd, 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
 
- 
 
- 
- 
- 
Method Detail- 
removepublic boolean remove(java.lang.Object o) Removes the first occurrence in this list of the specified element. If this list does not contain the element, it is unchanged. More formally, removes the element with the lowest index i such that- Specified by:
- removein interface- java.util.Collection<K>
- Specified by:
- removein interface- java.util.List<K>
- Parameters:
- o- element to be removed from this list, if present.
- Returns:
- 
- Throws:
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).
 
 
- 
 
-