org.rapla.components.util
Class OrderedMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.rapla.components.util.OrderedMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class OrderedMap
- extends HashMap
An implemention of a map that keeps the values (not the keys) sorted.
- See Also:
- Serialized Form
OrderedMap
public OrderedMap()
OrderedMap
public OrderedMap(Comparator comparator)
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class HashMap
putAll
public void putAll(Map all)
- Specified by:
putAll
in interface Map
- Overrides:
putAll
in class HashMap
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
- Overrides:
remove
in class HashMap
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class HashMap
values
public Collection values()
- Specified by:
values
in interface Map
- Overrides:
values
in class HashMap
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.