36 lines
570 B
Java
Raw Normal View History

2007-07-21 14:44:39 -06:00
package java.util;
public interface Map<K, V> {
public boolean isEmpty();
2007-07-21 14:44:39 -06:00
public int size();
2007-07-22 13:06:21 -06:00
public boolean containsKey(K key);
public boolean containsValue(V value);
2007-07-21 14:44:39 -06:00
public V get(K key);
public V put(K key, V value);
public void putAll(Map<? extends K,? extends V> elts);
2007-07-21 14:44:39 -06:00
public V remove(K key);
2007-07-21 16:36:51 -06:00
public void clear();
public Set<Entry<K, V>> entrySet();
2007-07-21 21:47:08 -06:00
public Set<K> keySet();
public Collection<V> values();
2007-07-21 14:44:39 -06:00
public interface Entry<K, V> {
public K getKey();
public V getValue();
public void setValue(V value);
}
}