org.databene.commons.collection
Class OrderedNameMap<E>
java.lang.Object
org.databene.commons.OrderedMap<java.lang.String,E>
org.databene.commons.collection.OrderedNameMap<E>
- All Implemented Interfaces:
- java.util.Map<java.lang.String,E>
public class OrderedNameMap<E>
- extends OrderedMap<java.lang.String,E>
A map that assigns names to Objects and keeps entries
in the order in which they were inserted.
Created at 14.04.2008 09:49:34
- Since:
- 0.5.2
- Author:
- Volker Bergmann
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| Methods inherited from class org.databene.commons.OrderedMap |
clear, containsKey, containsValue, elementAt, entrySet, equals, equalsIgnoreOrder, get, hashCode, isEmpty, keySet, putAll, remove, size, toArray, toArray, toString, values |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OrderedNameMap
public OrderedNameMap()
OrderedNameMap
public OrderedNameMap(int caseSupport)
OrderedNameMap
public OrderedNameMap(OrderedNameMap<E> that)
createCaseSensitiveMap
public static <T> OrderedNameMap<T> createCaseSensitiveMap()
createCaseInsensitiveMap
public static <T> OrderedNameMap<T> createCaseInsensitiveMap()
createCaseIgnorantMap
public static <T> OrderedNameMap<T> createCaseIgnorantMap()
containsKey
public boolean containsKey(java.lang.String key)
get
public E get(java.lang.String key)
put
public E put(java.lang.String key,
E value)
- Specified by:
put in interface java.util.Map<java.lang.String,E>- Overrides:
put in class OrderedMap<java.lang.String,E>
remove
public E remove(java.lang.String key)
Copyright © 2010. All Rights Reserved.