org.apache.directory.server.protocol.shared
Class MapAdapter
java.lang.Object
org.apache.directory.server.protocol.shared.MapAdapter
- All Implemented Interfaces:
- Map<Object,Object>
public class MapAdapter
- extends Object
- implements Map<Object,Object>
Adapter to add the Map interface to Dictionary's. Many of the OSGi interfaces use
Dictionary's for legacy reasons, but the Dictionary is obsolete.
- Author:
- Apache Directory Project
| 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 |
MapAdapter
public MapAdapter(Dictionary<Object,Object> dictionary)
- Creates a new instance of MapAdapter.
- Parameters:
dictionary -
clear
public void clear()
- Specified by:
clear in interface Map<Object,Object>
- See Also:
Map.clear()
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<Object,Object>
- See Also:
Map.containsKey(java.lang.Object)
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<Object,Object>
- See Also:
Map.containsValue(java.lang.Object)
entrySet
public Set<Map.Entry<Object,Object>> entrySet()
- Specified by:
entrySet in interface Map<Object,Object>
- See Also:
Map.entrySet()
get
public Object get(Object key)
- Specified by:
get in interface Map<Object,Object>
- See Also:
Map.get(java.lang.Object)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<Object,Object>
- See Also:
Map.isEmpty()
keySet
public Set<Object> keySet()
- Specified by:
keySet in interface Map<Object,Object>
- See Also:
Map.keySet()
put
public Object put(Object arg0,
Object arg1)
- Specified by:
put in interface Map<Object,Object>
- See Also:
Map.put(java.lang.Object, java.lang.Object)
putAll
public void putAll(Map arg0)
- Specified by:
putAll in interface Map<Object,Object>
- See Also:
Map.putAll(java.util.Map)
remove
public Object remove(Object key)
- Specified by:
remove in interface Map<Object,Object>
- See Also:
Map.remove(java.lang.Object)
size
public int size()
- Specified by:
size in interface Map<Object,Object>
- See Also:
Map.size()
values
public Collection<Object> values()
- Specified by:
values in interface Map<Object,Object>
- See Also:
Map.values()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.