摘要:
find . -name "*.java" -type f find all the files within a director and its sub-directory ended with .java rm *~ delete all the files ended with ~ grep 阅读全文
posted @ 2017-02-23 17:45
小张的练习室
阅读(221)
评论(0)
推荐(0)
摘要:
HashMap 是线程不安全的,主要对于写操作来说,两个以上线程同时写入Map会被互相覆盖。线程安全指的保证对同一个map的写入操作按照顺序进行,一次只能一个线程更改。比如向HashMap里put(key, value1)有可能key对应的是其他线程同时写入的value2 HashMap的遍历有两种 阅读全文
posted @ 2017-02-23 17:26
小张的练习室
阅读(1124)
评论(0)
推荐(0)

浙公网安备 33010602011771号