Map (II)

interface Map<K,V> { ...
  Set<Map.Entry<K, V>> entrySet();

  interface Entry<K,V> {
    K getKey ();
    V getValue ();
  }
}
Implementierung: HashMap<K,V>

interface OrderedMap<K,V> { .. }
Implementierung: TreeMap<K,V>



Johannes Waldmann 2006-06-22