November 2004
Intermediate to advanced
1024 pages
27h 50m
English
In this section, we discuss the collection classes that existed in the Java programming language since the beginning: the Hashtable class and its useful Properties subclass, the Stack subclass of Vector, and the BitSet class.
The classic Hashtable class serves the same purpose as the HashMap and has essentially the same interface. Just like methods of the Vector class, the Hashtable methods are synchronized. If you do not require synchronization or compatibility with legacy code, you should use the HashMap instead.
NOTE
The name of the class is Hashtable, with a lowercase t. Under Windows, you'll get strange ... |
Read now
Unlock full access