org.ujmp.core.collections
Class HashMapList<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by org.ujmp.core.collections.HashMapList<K,V>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>

public class HashMapList<K,V>
extends HashMap<K,V>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
HashMapList()
           
HashMapList(Map<? extends K,? extends V> m)
           
 
Method Summary
 V get(int index)
           
 int indexOf(V value)
           
 V put(K key, V value)
           
 V remove(Object key)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, 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
equals, hashCode
 

Constructor Detail

HashMapList

public HashMapList()

HashMapList

public HashMapList(Map<? extends K,? extends V> m)
Method Detail

put

public V put(K key,
             V value)
Specified by:
put in interface Map<K,V>
Overrides:
put in class HashMap<K,V>

indexOf

public int indexOf(V value)

get

public V get(int index)

remove

public V remove(Object key)
Specified by:
remove in interface Map<K,V>
Overrides:
remove in class HashMap<K,V>


Copyright © 2010. All Rights Reserved.