线程中断
1、调用Thread.stop时会抛出ThreadDeath异常,但不会显式显现,已弃用
2、suspend和resume弃用,尽量用wait和notify来代替。
详细见 http://ibruce.info/2013/12/19/how-to-stop-a-java-thread/
HashMap
详细见https://coolshell.cn/articles/9606.html
http://www.uucode.net/201503/hashmap-hash-col
网友评论