nl.knowledgeplaza.util
Class ValueSortedMap
java.lang.Object
java.util.AbstractMap
nl.knowledgeplaza.util.ValueSortedMap
- All Implemented Interfaces:
- Map
public class ValueSortedMap
- extends AbstractMap
A map that is sorted on value instead of key.
- Version:
- $Revision: 1.2 $
- Author:
- $Author: toeukpap $
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, size, toString, values |
ValueSortedMap
public ValueSortedMap()
- Creates a
LinearMap.
ValueSortedMap
public ValueSortedMap(int capacity)
- Creates a
LinearMap with specified capacity.
ValueSortedMap
public ValueSortedMap(Map map)
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map- Specified by:
entrySet in class AbstractMap
main
public static void main(String[] args)
put
public Object put(Object key,
Object value)
- Specified by:
put in interface Map- Overrides:
put in class AbstractMap
remove
public Object remove(Object key)
- Specified by:
remove in interface Map- Overrides:
remove in class AbstractMap
Copyright © 2012 KnowledgePlaza. All Rights Reserved.