org.exoplatform.commons.map
Class AbstractMap
java.lang.Object
org.exoplatform.commons.map.AbstractMap
- All Implemented Interfaces:
- Map
public abstract class AbstractMap
- extends Object
- implements Map
- Since:
- Nov 6, 2003 5:58:08 PM
- Author:
- Ove Ranheim (oranheim@users.sourceforge.net)
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
AbstractMap
public AbstractMap()
getAttribute
protected abstract Object getAttribute(String name)
setAttribute
protected abstract void setAttribute(String name,
Object value)
removeAttribute
protected abstract void removeAttribute(String name)
getAttributeNames
protected abstract Enumeration getAttributeNames()
size
public int size()
- Specified by:
size in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map
get
public Object get(Object key)
- Specified by:
get in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put in interface Map
remove
public Object remove(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 Set entrySet()
- Specified by:
entrySet in interface Map
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 eXo Platform SAS. All Rights Reserved.