public class CaseInsensitiveDictionary extends Dictionary<String,Object>
CaseInsensitiveDictionary
is a
java.util.Dictionary
which conforms to the requirements laid
out by the Configuration Admin Service Specification requiring the property
names to keep case but to ignore case when accessing the properties.Modifier and Type | Class and Description |
---|---|
static class |
CaseInsensitiveDictionary.UnmodifiableDictionary |
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
CASE_INSENSITIVE_ORDER |
Constructor and Description |
---|
CaseInsensitiveDictionary() |
CaseInsensitiveDictionary(Dictionary props) |
Modifier and Type | Method and Description |
---|---|
Enumeration<Object> |
elements() |
boolean |
equals(Object o) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Enumeration<String> |
keys() |
Object |
put(String key,
Object value) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
static Dictionary<String,Object> |
unmodifiable(Dictionary<String,Object> dict) |
public static final Comparator<String> CASE_INSENSITIVE_ORDER
public CaseInsensitiveDictionary()
public CaseInsensitiveDictionary(Dictionary props)
public Enumeration<Object> elements()
elements
in class Dictionary<String,Object>
public boolean isEmpty()
isEmpty
in class Dictionary<String,Object>
public Enumeration<String> keys()
keys
in class Dictionary<String,Object>
public Object put(String key, Object value)
put
in class Dictionary<String,Object>
public int size()
size
in class Dictionary<String,Object>
public static Dictionary<String,Object> unmodifiable(Dictionary<String,Object> dict)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.