KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > AbstractMap

java.util
Class AbstractMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
All Implemented Interfaces:
Map<K,V>
Direct Known Subclasses:
ConcurrentHashMap, EnumMap, HashMap, IdentityHashMap, TreeMap, WeakHashMap
See Also:
Top Examples, Source Code, Collection

protected AbstractMap()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1674]Difference between Map and Hashmap
By Anonymous on 2005/11/04 20:23:08  Rate
Map is Interface and Hashmap is class that implements that.

public void clear()
See Also:
UnsupportedOperationException, V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Object clone()
                throws CloneNotSupportedException
See Also:
Cloneable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean containsKey(Object key)
See Also:
NullPointerException, V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean containsValue(Object value)
See Also:
V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Set<Map.Entry<K,V>> entrySet()
See Also:
Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object o)
See Also:
Hashtable, Object.hashCode(), V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V get(Object key)
See Also:
containsKey(Object), NullPointerException, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int hashCode()
See Also:
Set.equals(Object), Object.equals(Object), V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isEmpty()
See Also:
V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Set<K> keySet()
See Also:
Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object put(Object key,
                  Object value)
See Also:
NullPointerException, IllegalArgumentException, ClassCastException, UnsupportedOperationException, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V put(K key,
             V value)
See Also:
NullPointerException, IllegalArgumentException, ClassCastException, UnsupportedOperationException, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void putAll(Map<? extends K,? extends V> t)
See Also:
NullPointerException, IllegalArgumentException, ClassCastException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V remove(Object key)
See Also:
UnsupportedOperationException, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int size()
See Also:
V, Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Collection<V> values()
See Also:
Map
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags