|
|
|
Example:
|
public class HashMap
{
public Entry AVAILABLE = new Entry(null, null);
.... (other variables andmethod)
}
|
(The class Entry represents the objects stored in the map)
Input: key k
Output: the value for key k (if found) or null (not found)
|
|
|
|
|
|
|
|