code: public void clear() {
        NonSyncHashtableEntry tab[] = table;
        for (int index = tab.length; --index >= 0;) {
           tab[index] = null;
        }
        count = 0;
     }
docs: Clears this hashtable so that it contains no keys.