net.sf.diaz
Class IndexedMapImpl<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
net.sf.diaz.IndexedMapImpl<K,V>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>, IndexedMap<K,V>
class IndexedMapImpl<K,V>
- extends java.util.LinkedHashMap<K,V>
- implements IndexedMap<K,V>
- Author:
- Sean C. Sullivan
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
|
Field Summary |
private java.util.List<V> |
values
|
| Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get, removeEldestEntry |
| Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, putAll, 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 |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, size, values |
values
private java.util.List<V> values
IndexedMapImpl
public IndexedMapImpl()
IndexedMapImpl
public IndexedMapImpl(int initialCapacity)
put
public V put(K key,
V value)
- Specified by:
put in interface java.util.Map<K,V>- Overrides:
put in class java.util.HashMap<K,V>
remove
public V remove(java.lang.Object key)
- Specified by:
remove in interface java.util.Map<K,V>- Overrides:
remove in class java.util.HashMap<K,V>
get
public V get(int i)
- Specified by:
get in interface IndexedMap<K,V>
Copyright © 2005 diaz.sourceforge.net. All Rights Reserved.