org.enhydra.barracuda.plankton.data
Class SoftHashMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byorg.enhydra.barracuda.plankton.data.SoftHashMap
All Implemented Interfaces:
Map

public class SoftHashMap
extends AbstractMap


Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
SoftHashMap()
           
SoftHashMap(int hardSize)
           
 
Method Summary
 void clear()
           
 Set entrySet()
           
 Object get(Object key)
           
 Object put(Object key, Object value)
          Here we put the key, value pair into the HashMap using a SoftValue object.
 Object remove(Object key)
           
 int size()
           
 
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoftHashMap

public SoftHashMap()

SoftHashMap

public SoftHashMap(int hardSize)
Method Detail

get

public Object get(Object key)

put

public Object put(Object key,
                  Object value)
Here we put the key, value pair into the HashMap using a SoftValue object.


remove

public Object remove(Object key)

clear

public void clear()

size

public int size()

entrySet

public Set entrySet()


Copyright © 2003 BarracudaMVC.org All Rights Reserved.