Compoze Software, Inc.

com.compoze.util
Class ValueSortedMap


java.lang.Object

  |

  +--java.util.AbstractMap

        |

        +--java.util.HashMap

              |

              +--com.compoze.util.ValueSortedMap

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ValueSortedMap
extends java.util.HashMap
implements java.io.Serializable

This class represents a key-value map. The entries are sorted by the value, ascending order.

Note: the values must be java.lang.String objects.

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
ValueSortedMap()
          Constructor.
 
Method Summary
 java.util.Set entrySet()
           
 java.util.Set keySet()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, get, isEmpty, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ValueSortedMap


public ValueSortedMap()
Constructor.
Method Detail

keySet


public java.util.Set keySet()
Overrides:
keySet in class java.util.HashMap

entrySet


public java.util.Set entrySet()
Overrides:
entrySet in class java.util.HashMap

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.