to.etc.util
Interface IMappable<K,V>


public interface IMappable<K,V>

Something which knows about mapping objects.

Created on May 26, 2005

Author:
Frits Jalvingh

Method Summary
 V get(K key)
          Looks up an object by key.
 java.util.Iterator<K> getKeyIterator()
           
 java.util.Iterator<V> getValueIterator()
           
 int size()
          Returns the #of objects in the map
 

Method Detail

get

V get(K key)
Looks up an object by key.

Parameters:
key -
Returns:

size

int size()
Returns the #of objects in the map

Returns:

getKeyIterator

java.util.Iterator<K> getKeyIterator()

getValueIterator

java.util.Iterator<V> getValueIterator()