org.objectweb.fractal.juliak.factory
Class AbstractMap
java.lang.Object
org.objectweb.fractal.juliak.factory.AbstractMap
- All Implemented Interfaces:
- Map
- Direct Known Subclasses:
- ControlComponentBoundMap
public class AbstractMap
- extends Object
- implements Map
An implementation of the Map
interface where each method throws an
UnsupportedOperationException
. This class is primarily intended to be
extended with some concrete method implementations while preserving a
"secure" behavior for other unimplemented methods: if called, the thrown
exception will allow detecting the cause of the problem.
- Since:
- 2.5
- Author:
- Lionel Seinturier
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMap
public AbstractMap()
clear
public void clear()
- Specified by:
clear
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
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
get
public Object get(Object key)
- Specified by:
get
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
put
public Object put(Object arg0,
Object arg1)
- Specified by:
put
in interface Map
putAll
public void putAll(Map arg0)
- Specified by:
putAll
in interface Map
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
size
public int size()
- Specified by:
size
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map