`
Mr.Chris
  • 浏览: 83290 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
收藏列表
标题 标签 来源
Vector是线程安全的 java, collections
//需要保证线程安全的时候,不要用List。
//见Junit源码中TestSuite类
private Vector<Test> fTests= new Vector<Test>(10); // Cannot convert this to List because it is used directly by some test runners
Global site tag (gtag.js) - Google Analytics