chrriis.uihierarchy.compatibility
Interface Map

All Known Implementing Classes:
HashMap

public interface Map

The Map compatible version.

Version:
1.0 2004.01.11
Author:
Christopher Deckers (chrriis@brainlex.com)

Method Summary
 boolean containsKey(Object key)
          Returns true if this map contains a mapping for the specified key.
 Object get(Object key)
          Returns the value to which this map maps the specified key.
 Set keySet()
          Returns a set view of the keys contained in this map.
 Object put(Object key, Object value)
          Associates the specified value with the specified key in this map (optional operation).
 

Method Detail

containsKey

public boolean containsKey(Object key)
Returns true if this map contains a mapping for the specified key.

Parameters:
key - The key.
Returns:
True if found.

get

public Object get(Object key)
Returns the value to which this map maps the specified key.

Parameters:
key - The key.
Returns:
The object.

put

public Object put(Object key,
                  Object value)
Associates the specified value with the specified key in this map (optional operation).

Parameters:
key - The key.
value - The value.
Returns:
The previous value.

keySet

public Set keySet()
Returns a set view of the keys contained in this map.

Returns:
The set.