java问题,如何遍历,这一个hashtable是啥意思?
publicclassDataProcessing{staticHashtable<String,User>users;static{users=newHashtable...
public class DataProcessing {
static Hashtable<String, User> users;
static {
users = new Hashtable<String, User>();
users.put("jack", new Operator("jack","123","operator"));
users.put("rose", new Browser("rose","123","browser"));
users.put("kate", new administrator("kate","123","administrator"));
} 展开
static Hashtable<String, User> users;
static {
users = new Hashtable<String, User>();
users.put("jack", new Operator("jack","123","operator"));
users.put("rose", new Browser("rose","123","browser"));
users.put("kate", new administrator("kate","123","administrator"));
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询