cz.cuni.amis.utils
Class SoftHashMap
java.lang.Object
java.util.AbstractMap
cz.cuni.amis.utils.SoftHashMap
- All Implemented Interfaces:
- Map
public class SoftHashMap
- extends AbstractMap
- implements Map
The code has been obtained from site: http://www.java2s.com/Code/Java/Collections-Data-Structure/SoftHashMap.htm
(1.3.2008)
Thank you java2s.com!
- Author:
- Jimmy
SoftHashMap
public SoftHashMap()
SoftHashMap
public SoftHashMap(Map t)
SoftHashMap
public SoftHashMap(int initialCapacity)
SoftHashMap
public SoftHashMap(int initialCapacity,
float loadFactor)
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
- Overrides:
isEmpty
in class AbstractMap
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
- Overrides:
containsKey
in class AbstractMap
get
public Object get(Object key)
- Specified by:
get
in interface Map
- Overrides:
get
in class AbstractMap
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
- Overrides:
remove
in class AbstractMap
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.