Java tutorial
//package com.java2s; import java.util.Hashtable; public class Main { public static void clearHash(Hashtable hash) { if (hash != null) { hash.clear(); } hash = null; } }