遍历Hashtable

            for (Iterator it = arr.keySet().iterator(); it.hasNext();)
            {
                String key = (String) it.next();
                Object value = arr.get(key);
                PropertyUtils.setProperty(obj, key, UT.IsNullOrEmpty(value)?"":value);
            }

 

你可能感兴趣的:(Hashtable)