|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.map.AbstractMapDecorator org.apache.commons.collections.map.ListOrderedMap org.apache.torque.util.ListOrderedMapCI
public class ListOrderedMapCI
A subclass of the Apache Commons ListOrderedMap that has case insensitive String key methods. This is done by converting all String keys to lower case.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class org.apache.commons.collections.map.ListOrderedMap |
---|
insertOrder |
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator |
---|
map |
Constructor Summary | |
---|---|
ListOrderedMapCI()
Constructs a new empty ListOrderedMap. |
Method Summary | |
---|---|
boolean |
containsKey(java.lang.String key)
Test if the key exists in the mapping. |
java.lang.Object |
get(java.lang.String key)
Get the object associated with this key. |
int |
indexOf(java.lang.String key)
Gets the index of the specified key. |
java.lang.Object |
put(int index,
java.lang.String key,
java.lang.Object value)
Puts a key-value mapping into the map at the specified index. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Adds a value to the end of the list with the specified key. |
java.lang.Object |
remove(java.lang.String key)
Removes the mapping for the specified key. |
Methods inherited from class org.apache.commons.collections.map.ListOrderedMap |
---|
asList, clear, decorate, entrySet, firstKey, get, getValue, indexOf, keyList, keySet, lastKey, mapIterator, nextKey, orderedMapIterator, previousKey, put, put, putAll, remove, remove, setValue, toString, valueList, values |
Methods inherited from class org.apache.commons.collections.map.AbstractMapDecorator |
---|
containsKey, containsValue, equals, get, getMap, hashCode, isEmpty, size |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, containsValue, equals, get, hashCode, isEmpty, size |
Constructor Detail |
---|
public ListOrderedMapCI()
Method Detail |
---|
public java.lang.Object get(java.lang.String key)
key
- A case insensitive String.
public java.lang.Object put(java.lang.String key, java.lang.Object value)
key
- A case insensitive String.value
- The value to add
public java.lang.Object put(int index, java.lang.String key, java.lang.Object value)
index
- The index at which the mapping should be inserted.key
- A case insensitive String.value
- The value.
public int indexOf(java.lang.String key)
key
- A case insensitive String.
public java.lang.Object remove(java.lang.String key)
key
- A case insensitive String.
public boolean containsKey(java.lang.String key)
key
- The case insensitive key to test for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |