net.walend.collection
Class HashMap

java.lang.Object
  |
  +--net.walend.collection.AbstractHashMap
        |
        +--net.walend.collection.HashMap
All Implemented Interfaces:
java.lang.Cloneable, HasState, Immutable, Map, java.io.Serializable

public final class HashMap
extends AbstractHashMap
implements Immutable

This is an immutable implementation of Map

Since:
20010705
Author:
David Walend

Nested Class Summary
 
Nested classes inherited from class net.walend.collection.AbstractHashMap
AbstractHashMap.Entry
 
Field Summary
 
Fields inherited from class net.walend.collection.AbstractHashMap
 
Fields inherited from interface net.walend.collection.Map
EMPTY
 
Constructor Summary
HashMap(java.util.HashMap orig)
           
HashMap(Map orig)
           
 
Method Summary
 java.util.Iterator keyIterator()
          Returns an iterator over the keys.
 java.util.Iterator valueIterator()
          Returns an iterator over the values.
 
Methods inherited from class net.walend.collection.AbstractHashMap
capacity, clear, clone, containsAll, containsKey, containsValue, get, getIdentitor, getJavaMap, getKeys, getPrincipleInterface, getValues, isEmpty, loadFactor, newEntry, put, putAll, remove, removeEntry, sameContentsAs, sameStateAs, size, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashMap

public HashMap(java.util.HashMap orig)

HashMap

public HashMap(Map orig)
Method Detail

keyIterator

public java.util.Iterator keyIterator()
Description copied from class: AbstractHashMap
Returns an iterator over the keys.

Specified by:
keyIterator in interface Map
Overrides:
keyIterator in class AbstractHashMap

valueIterator

public java.util.Iterator valueIterator()
Description copied from class: AbstractHashMap
Returns an iterator over the values.

Specified by:
valueIterator in interface Map
Overrides:
valueIterator in class AbstractHashMap


Copyright (c) 2000, 2001, David Walend