- 论坛徽章:
- 0
|
1.
Hashtable mhashtable = new Hashtable();
2.
/**
* @return 返回 mhashtable。
*/
public Hashtable getMhashtable() {
return mhashtable;
}
3.
uHashtable.put(username, usernamevalue);
4.
LdapParse createM = new LdapParse();
Hashtable hashKey = (Hashtable)createM.getUHashtable();
Enumeration enum;
String name, value;
enum = hashKey.keys();
while (enum.hasMoreElements())
{
name = (String) enum.nextElement();
value = (String) hashKey.get(name);
}
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13875/showart_96194.html |
|