Android Utililty Methods Hashtable Display

List of utility methods to do Hashtable Display

Description

The list of methods to do Hashtable Display are organized into topic(s).

Method

StringprintHash(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());
...