美文网首页
2018-12-26

2018-12-26

作者: 百炼 | 来源:发表于2018-12-26 22:05 被阅读0次

data[2018-12-26]

Array.sort方法中比较器代码的线程与调用sort的线程是同一个吗?
怎么验证这个问题 ?

tip. 使用Thread.currentThread().getId()得到当前线程的id


相关文章

网友评论

      本文标题:2018-12-26

      本文链接:https://www.haomeiwen.com/subject/ikaklqtx.html