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

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.ujmp.core.collections.AbstractMap<K,V>
          extended by org.ujmp.core.collections.SoftHashMap<K,V>
All Implemented Interfaces:
Serializable, Map<K,V>
Direct Known Subclasses:
SoftHashMapList

public class SoftHashMap<K,V>
extends AbstractMap<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>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
SoftHashMap()
           
SoftHashMap(Map<? extends K,? extends V> map)
           
 
Method Summary
 void clear()
           
 V get(Object key)
           
 Set<K> keySet()
           
 V put(K key, V value)
           
 V remove(Object key)
           
 int size()
           
 
Methods inherited from class org.ujmp.core.collections.AbstractMap
containsKey, containsValue, entrySet, isEmpty, putAll, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoftHashMap

public SoftHashMap()

SoftHashMap

public SoftHashMap(Map<? extends K,? extends V> map)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<K,V>
Specified by:
clear in class AbstractMap<K,V>

get

public V get(Object key)
Specified by:
get in interface Map<K,V>
Specified by:
get in class AbstractMap<K,V>

keySet

public Set<K> keySet()
Specified by:
keySet in interface Map<K,V>
Specified by:
keySet in class AbstractMap<K,V>

put

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

remove

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

size

public int size()
Specified by:
size in interface Map<K,V>
Specified by:
size in class AbstractMap<K,V>


Copyright © 2010. All Rights Reserved.