org.jboss.osgi.metadata
Class CaseInsensitiveDictionary

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by org.jboss.osgi.metadata.CaseInsensitiveDictionary
All Implemented Interfaces:
Serializable, Cloneable, Map

public class CaseInsensitiveDictionary
extends Hashtable

CaseInsensitiveDictionary.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
CaseInsensitiveDictionary(Dictionary delegate)
          Create a new CaseInsensitiveDictionary.
 
Method Summary
 Enumeration<Object> elements()
           
 Set entrySet()
           
 boolean equals(Object obj)
           
 Object get(Object key)
           
 int hashCode()
           
 boolean isEmpty()
           
 Enumeration<String> keys()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, putAll, rehash, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseInsensitiveDictionary

public CaseInsensitiveDictionary(Dictionary delegate)
Create a new CaseInsensitiveDictionary.

Parameters:
delegate - the delegate
Method Detail

elements

public Enumeration<Object> elements()
Overrides:
elements in class Hashtable

equals

public boolean equals(Object obj)
Specified by:
equals in interface Map
Overrides:
equals in class Hashtable

get

public Object get(Object key)
Specified by:
get in interface Map
Overrides:
get in class Hashtable

hashCode

public int hashCode()
Specified by:
hashCode in interface Map
Overrides:
hashCode in class Hashtable

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
Overrides:
isEmpty in class Hashtable

keys

public Enumeration<String> keys()
Overrides:
keys in class Hashtable

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map
Overrides:
put in class Hashtable

remove

public Object remove(Object key)
Specified by:
remove in interface Map
Overrides:
remove in class Hashtable

keySet

public Set keySet()
Specified by:
keySet in interface Map
Overrides:
keySet in class Hashtable

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
Overrides:
entrySet in class Hashtable

size

public int size()
Specified by:
size in interface Map
Overrides:
size in class Hashtable

toString

public String toString()
Overrides:
toString in class Hashtable


Copyright © 2010. All Rights Reserved.