Database Reference
In-Depth Information
Figure A2-8.
UML Diagram for the Hastable Class
The
HashMap
class is roughly equivalent to
Hashtable
, except that it is
unsynchronized and permits nulls. Additionally, there is no guarantee that the order of
the hash-table will remain constant over time.
The
TreeMap
class implements a non-synchronized map (similar to a hash-table),
in which keys are sorted. Figure
A2-9
provides the UML diagrams for the class.