HashSet<Integer> hashSet = new HashSet<Integer>();
for (int i = resultDoctorDetails.size() - 1; i >= 0; --i) {
ResultDoctorDetail temp = resultDoctorDetails.get(i);
if (!hashSet.contains(temp.getUserId())) {
hashSet.add(temp.getUserId());
} else {
resultDoctorDetails.remove(i);
}
}

最新文章

  1. dede文章调用时过滤调 body里面的style属性和值
  2. 不要过早退出循环 while(1){no break}
  3. Transact-SQL 示例 - 使用脚本备份数据库的示例
  4. hdu 1023 卡特兰数+高精度
  5. ASP.NET中数据棒图,饼图,柱状图的实现
  6. tools/adb: No such file or directory
  7. 基于新浪sae使用php生成图片发布图文微博
  8. Android——列表视图(ListView)
  9. C与C++的区别
  10. 【转】10分钟了解设计模式(C#)
  11. VR全景加盟-了解VR就来全景智慧城市
  12. iOS开发基础-UITableView基本属性
  13. squid代理允许FTP访问设置
  14. JVM内存区域的划分(内存结构或者内存模型)
  15. Python3 实现 JS 中 RSA 加密的 NoPadding 模式
  16. js通过DOM改变html和css
  17. mysql中间件研究(Atlas,cobar,TDDL)[转载]
  18. POJ_2533_Longest Ordered Subsequence
  19. 13-hadoop-入门程序
  20. BZOJ 1002 轮状病毒 矩阵树定理

热门文章

  1. git仓库的初始化
  2. linux文件对比命令——diff
  3. python之路十五
  4. Visual Studio 2015中创建C#的Android项目提示&quot;Value cannot be null&quot;的解决方法
  5. 如何将 Windows Server 2012 r2 打造成 Windows 8.1?
  6. Mosquitto搭建Android推送服务(四)Mosquitto服务器用户登录与权限配置
  7. gdb 调试多线程
  8. androidstdio偶遇一
  9. iOS10 推送必看(基础篇)
  10. freemarker IllegalAccessError 错误