Data Structures
Posted in JAVA on March 4, 2008 | No Comments »
The Java Collection classes provide implementations of data structures in three distinct categories, defined as interfaces:
Posted in JAVA on March 4, 2008 | No Comments »
The Java Collection classes provide implementations of data structures in three distinct categories, defined as interfaces:
Posted in JAVA on March 4, 2008 | No Comments »
Given a design scenario, determine which collection classes and/or interfaces should be used to properly implement that design, including the use of the Comparable interface.
Posted in JAVA on March 4, 2008 | No Comments »
Class implements a hashtable, which maps keys to values. Any non-null object can be used as a key or as a value.
To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the hashCode method and the equals method.