KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > HashMap


1 package com.mockobjects;
2
3 /*
4  * TYPE TO PROVIDE VERY BASIC HASHMAP IMPLEMENTATION TO BRIDGE GAP BETWEEN
5  * JDK1.1.7 and JDK 1.2
6  */

7
8 public class HashMap extends java.util.Hashtable JavaDoc {
9
10     /**
11      * HashMap constructor comment.
12      */

13     public HashMap() {
14         super();
15     }
16
17     /**
18      * HashMap constructor comment.
19      * @param initialCapacity int
20      */

21     public HashMap(int initialCapacity) {
22         super(initialCapacity);
23     }
24
25     /**
26      * HashMap constructor comment.
27      * @param initialCapacity int
28      * @param loadFactor float
29      */

30     public HashMap(int initialCapacity, float loadFactor) {
31         super(initialCapacity, loadFactor);
32     }
33 }
34
Popular Tags