| Constructor and Description |
|---|
OrderedMap()
Creates an OrderedMap.
|
OrderedMap(List keyList,
Map map)
Creates an OrderedMap backed by the given map.
|
OrderedMap(Map map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object key) |
boolean |
isEmpty() |
List |
keyList()
Returns the keys, in order.
|
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
int |
size() |
List |
valueList()
Returns the values.
|
Collection |
values()
Returns the values.
|
public OrderedMap(List keyList, Map map)
map - a Map that will be this OrderedMap's underlying Mappublic OrderedMap()
public OrderedMap(Map map)
public boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic List keyList()
public List valueList()
keyList()public Collection values()
Copyright © 2015. All rights reserved.