List of utility methods to do Hashtable Display
String | printHash(Hashtable ht) print Hash StringBuffer sb = new StringBuffer(""); if (ht != null && !ht.isEmpty()) { sb.append("Contents of Hashtable:\n"); Enumeration en = ht.keys(); while (en.hasMoreElements()) { String k = (String) en.nextElement(); sb.append("* " + k + " = "); sb.append(ht.get(k).toString()); ... |