java.util

Class AbstractMap<K,V>

public abstract class AbstractMap<K,V> extends Object implements Map<K,V>

Constructor Summary
protected AbstractMap()
Method Summary
voidclear()
protected Objectclone()
booleancontainsKey(Object key)
booleancontainsValue(Object value)
abstract Set<Map.Entry<K,V>>entrySet()
booleanequals(Object o)
Vget(K key)
inthashCode()
booleanisEmpty()
Set<K>keySet()
Vput(K key, V value)
<K1 extends K,V1 extends V> voidputAll(Map<K1,V1> t)
Vremove(Object key)
intsize()
StringtoString()
Collection<V>values()

Constructor Detail

AbstractMap

protected AbstractMap()

Method Detail

clear

public void clear()

clone

protected Object clone()

containsKey

public boolean containsKey(Object key)

containsValue

public boolean containsValue(Object value)

entrySet

public abstract Set<Map.Entry<K,V>> entrySet()

equals

public boolean equals(Object o)

get

public V get(K key)

hashCode

public int hashCode()

isEmpty

public boolean isEmpty()

keySet

public Set<K> keySet()

put

public V put(K key, V value)

putAll

public <K1 extends K,V1 extends V> void putAll(Map<K1,V1> t)

remove

public V remove(Object key)

size

public int size()

toString

public String toString()

values

public Collection<V> values()