Example usage for Java org.apache.commons.collections.map LinkedMap fields, constructors, methods, implement or subclass
The text is from its open source code.
LinkedMap(int initialCapacity) Constructs a new, empty map with the specified initial capacity. | |
LinkedMap(Map map) Constructor copying elements from another map. | |
LinkedMap() Constructs a new empty map with default size and load factor. |
List | asList() Gets an unmodifiable List view of the keys. |
boolean | containsKey(Object key) Checks whether the map contains the specified key. |
Object | firstKey() Gets the first key in the map, which is the most recently inserted. |
Object | get(int index) Gets the key at the specified index. |
Object | getValue(int index) Gets the value at the specified index. |
boolean | isEmpty() Checks whether the map is currently empty. |
Set | keySet() Gets the keySet view of the map. |
Object | lastKey() Gets the last key in the map, which is the first inserted. |
Object | nextKey(Object key) Gets the next key in sequence. |
Object | put(Object key, Object value) Puts a key-value mapping into this map. |
void | putAll(Map map) Puts all the values from the specified map into this map. |
Object | remove(int index) Removes the element at the specified index. |
int | size() Gets the size of the map. |
Collection | values() Gets the values view of the map. |