corda/classpath/java/util/Map.java

32 lines
483 B
Java
Raw Normal View History

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