java并行程序基础

2017-12-29  本文已影响0人  Richard_80ec

线程中断

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

上一篇 下一篇

猜你喜欢

热点阅读