org.webmacro.util
Interface SimpleMap

All Known Implementing Classes:
AbstractScalableMap, SimpleHashMap, SimpleIdentityMap

public interface SimpleMap

Interface for a simple map, that does not have all the features of java.util.Map.
AbstractScalableMap uses an array of instances of this interface.

Author:
skanthak@muehlheim.de

Method Summary
 void clear()
           
 java.lang.Object get(java.lang.Object key)
          Get the value of 'key' back.
 void put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
          Ensure that the key does not appear in the map
 

Method Detail

put

public void put(java.lang.Object key,
                java.lang.Object value)

get

public java.lang.Object get(java.lang.Object key)
Get the value of 'key' back. Returns null if no such key.

remove

public java.lang.Object remove(java.lang.Object key)
Ensure that the key does not appear in the map

clear

public void clear()