java.util
Class AbstractMap
java.lang.Object
java.util.AbstractMap
- All Implemented Interfaces:
- Map
- Direct Known Subclasses:
- HashMap
- public abstract class AbstractMap
- extends java.lang.Object
- implements Map
Title:
Description:
Copyright: Copyright (c) 2001
Company:
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AbstractMap
protected AbstractMap()
size
public int size()
- Specified by:
size
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface Map
containsKey
public boolean containsKey(java.lang.Object key)
throws java.lang.ClassCastException,
java.lang.NullPointerException
- Specified by:
containsKey
in interface Map
- Throws:
java.lang.ClassCastException
java.lang.NullPointerException
get
public java.lang.Object get(java.lang.Object key)
throws java.lang.ClassCastException,
java.lang.NullPointerException
- Specified by:
get
in interface Map
- Throws:
java.lang.ClassCastException
java.lang.NullPointerException
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
throws UnsupportedOperationException
- Specified by:
put
in interface Map
- Throws:
UnsupportedOperationException
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface Map
putAll
public void putAll(Map t)
- Specified by:
putAll
in interface Map
clear
public void clear()
- Specified by:
clear
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
entrySet
public abstract Set entrySet()
- Specified by:
entrySet
in interface Map
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface Map
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map
toString
public java.lang.String toString()