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);
}
阅读(4145) | 评论(10) | 转发(0) |