java.util
Class AbstractMap
java.lang.Object
java.util.AbstractMap
- All Implemented Interfaces:
- Map
- Direct Known Subclasses:
- HashMap, TreeMap
- public abstract class AbstractMap
- extends Object
- implements Map
keySet
transient volatile Set keySet
values
transient volatile Collection values
AbstractMap
protected AbstractMap()
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map- Overrides:
hashCode in class Object
size
public int size()
- Specified by:
size in interface Map
clear
public void clear()
- Specified by:
clear in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map
clone
protected Object clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException
containsKey
public boolean containsKey(Object)
- Specified by:
containsKey in interface Map
containsValue
public boolean containsValue(Object)
- Specified by:
containsValue in interface Map
equals
public boolean equals(Object)
- Specified by:
equals in interface Map- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
values
public Collection values()
- Specified by:
values in interface Map
putAll
public void putAll(Map)
- Specified by:
putAll in interface Map
entrySet
public abstract Set entrySet()
- Specified by:
entrySet in interface Map
keySet
public Set keySet()
- Specified by:
keySet in interface Map
get
public Object get(Object)
- Specified by:
get in interface Map
remove
public Object remove(Object)
- Specified by:
remove in interface Map
put
public Object put(Object,
Object)
- Specified by:
put in interface Map
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.