asd_library.hash
Interface Map_adt


public interface Map_adt

An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value


Method Summary
 Hashable find(Hashable key)
          Removes the mapping for this key from this map if it is present
 void insert(Hashable x)
           
 void remove(Hashable x)
          Removes the mapping for this key from this map if it is present
 

Method Detail

insert

public void insert(Hashable x)
Parameters:
x -

remove

public void remove(Hashable x)
Removes the mapping for this key from this map if it is present


find

public Hashable find(Hashable key)
Removes the mapping for this key from this map if it is present

Parameters:
key -
Returns: