java方面的性能问题?,,如果先前List<? > lst = userService.getList(hql) 5
List<?>lst=userService.getList(hql)for(Objectobject:lst){SysUsersysUser=(SysUser)obje...
List<? > lst = userService.getList(hql)
for (Object object : lst) {
SysUser sysUser = (SysUser)object;
System.out.print(sysUser.getLoginName() +" " );
System.out.print(sysUser.getUsername() +" ");
System.out.println(sysUser.getId());
} 展开
for (Object object : lst) {
SysUser sysUser = (SysUser)object;
System.out.print(sysUser.getLoginName() +" " );
System.out.print(sysUser.getUsername() +" ");
System.out.println(sysUser.getId());
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询