structure
Class AbstractMap

java.lang.Object
  extended by structure.AbstractMap
All Implemented Interfaces:
Map
Direct Known Subclasses:
ChainedHashtable, Table

public abstract class AbstractMap
extends java.lang.Object
implements Map


Constructor Summary
AbstractMap()
           
 
Method Summary
 int hashCode()
          Compute the hashCode for elements of this map
 void putAll(Map other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface structure.Map
clear, containsKey, containsValue, entrySet, equals, get, isEmpty, keySet, put, remove, size, values
 

Constructor Detail

AbstractMap

public AbstractMap()
Method Detail

putAll

public void putAll(Map other)
Specified by:
putAll in interface Map
Precondition:
other is a valid map
Postcondition:
adds the map entries of other map into this, possibly replacing value

hashCode

public int hashCode()
Compute the hashCode for elements of this map

Specified by:
hashCode in interface Map
Overrides:
hashCode in class java.lang.Object