Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent
Class CHashMap<V>

    java.lang.Object
      java.util.AbstractMap
          java.util.HashMap
              multivalent.CHashMap

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

public class CHashMap<V>
extends java.util.HashMap<java.lang.String,V>

`Map` that canonicalizes keys that are of type String to all lowercase.

Version:
  $Revision: 1.4 $ $Date: 2003/06/02 04:58:14 $
See Also:
  Serialized Form

Field Summary
`static java.util.Map` | `EMPTY` Unmodifiable, empty instance.

Constructor Summary
`CHashMap()`
`CHashMap(int initialCapacity)`
`CHashMap(int initialCapacity, float loadFactor)`

Method Summary
`boolean` | `containsKey(java.lang.String key)`
`V` | `get(java.lang.String key)`
`static CHashMap<java.lang.String>` | `getInstance(java.lang.String attrs)` Conviently populate with name-value pairs given in a String: name1`=`value1`;`name2`=`...
`V` | `put(java.lang.String key, V value)`
`V` | `remove(java.lang.String key)`

Methods inherited from class java.util.HashMap
`clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, 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`

Field Detail

### EMPTY

    public static final java.util.Map EMPTY

  Unmodifiable, empty instance.

Constructor Detail

### CHashMap

    public CHashMap(int initialCapacity,
                    float loadFactor)

### CHashMap

    public CHashMap(int initialCapacity)

### CHashMap

    public CHashMap()

Method Detail

### getInstance

    public static CHashMap<java.lang.String> getInstance(java.lang.String attrs)

  Conviently populate with name-value pairs given in a String: name1`=`value1`;`name2`=`... Values can be quoted, with single or double quotes.

### put

    public V put(java.lang.String key,
                 V value)

  Overrides:
    `put` in class `java.util.HashMap`

### get

    public V get(java.lang.String key)

### remove

    public V remove(java.lang.String key)

### containsKey

    public boolean containsKey(java.lang.String key)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD