org.apache.directory.server.protocol.shared
Class MapAdapter
java.lang.Object
org.apache.directory.server.protocol.shared.MapAdapter
- All Implemented Interfaces:
- java.util.Map
public class MapAdapter
- extends java.lang.Object
- implements java.util.Map
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.
- Version:
- $Rev: 434432 $, $Date: 2006-08-24 18:52:26 +0200 (Thu, 24 Aug 2006) $
- Author:
- Apache Directory Project
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Constructor Summary |
MapAdapter(java.util.Dictionary dictionary)
|
Method Summary |
void |
clear()
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
java.lang.Object |
get(java.lang.Object key)
|
boolean |
isEmpty()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object arg0,
java.lang.Object arg1)
|
void |
putAll(java.util.Map arg0)
|
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
MapAdapter
public MapAdapter(java.util.Dictionary dictionary)
clear
public void clear()
- Specified by:
clear
in interface java.util.Map
- See Also:
Map.clear()
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
- See Also:
Map.containsKey(java.lang.Object)
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface java.util.Map
- See Also:
Map.containsValue(java.lang.Object)
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
- See Also:
Map.entrySet()
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
- See Also:
Map.get(java.lang.Object)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
- See Also:
Map.isEmpty()
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
- See Also:
Map.keySet()
put
public java.lang.Object put(java.lang.Object arg0,
java.lang.Object arg1)
- Specified by:
put
in interface java.util.Map
- See Also:
Map.put(java.lang.Object, java.lang.Object)
putAll
public void putAll(java.util.Map arg0)
- Specified by:
putAll
in interface java.util.Map
- See Also:
Map.putAll(java.util.Map)
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map
- See Also:
Map.remove(java.lang.Object)
size
public int size()
- Specified by:
size
in interface java.util.Map
- See Also:
Map.size()
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
- See Also:
Map.values()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.