org.barracudamvc.plankton.data
Class SoftHashMap
java.lang.Object
java.util.AbstractMap
org.barracudamvc.plankton.data.SoftHashMap
- All Implemented Interfaces:
- Map
public class SoftHashMap
- extends AbstractMap
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
SoftHashMap
public SoftHashMap()
SoftHashMap
public SoftHashMap(int hardSize)
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)
- Here we put the key, value pair into the HashMap using
a SoftValue object.
- 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
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
Copyright © 2006 BarracudaMVC.org All Rights Reserved.