eXo Kernel :: Commons Utils 2.4.13-GA

org.exoplatform.commons.map
Class AbstractMap

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
AbstractMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set entrySet()
           
 Object get(Object key)
           
protected abstract  Object getAttribute(String name)
           
protected abstract  Enumeration getAttributeNames()
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map t)
           
 Object remove(Object key)
           
protected abstract  void removeAttribute(String name)
           
protected abstract  void setAttribute(String name, Object value)
           
 int size()
           
 String toString()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

AbstractMap

public AbstractMap()
Method Detail

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

eXo Kernel :: Commons Utils 2.4.13-GA

Copyright © 2015 eXo Platform SAS. All Rights Reserved.