How to get all keys/values out of a Hashtable.

If you like to program in Java language, it is good to know there are a number of ways to get all keys/values out of a Hashtable. Hashtable ht = new Hashtable(); ht.put(“one”,new Integer(1)); ht.put(“two”,new Integer(2)); Enumeration en = ht.elements(); while(en.hasMoreElements()){ System.out.println((Integer)en.nextElement()); } or Hashtable ht = new Hashtable(); ht.put(“one”,new Integer(1)); ht.put(“two”,new Integer(2)); Iterator it=hr.keySet().Iterator(); [...]

WordPress vs Mambo

I have build two websites with CMS package. One is Mambo, the other is WordPress. They all are good systems but with different features. 1: WordPress can only be used on blog website. Mambo can be used on some other website. 2: It is very easy to install WordPress. It only took me 5 minutes [...]