question: public static Hashtable copyHashTable ( Hashtable paramsMap ) { Hashtable newTable = new Hashtable ( ) ; Enumeration keys = paramsMap . keys ( ) ; while ( keys . hasMoreElements ( ) ) { Object key = keys . nextElement ( ) ; newTable . put ( key , paramsMap . get ( key ) ) ; } return newTable ; }
target:  Tool function to shallow copy a Hashtable.