[TOC]

<!-- Concurrent Programming -->
# 第二十四章 并发编程


<!-- The Terminology Problem -->
## 术语问题


<!-- Concurrency Superpowers -->
## 并发的超能力


<!-- Concurrency is for Speed -->
## 针对速度


<!-- The Four Maxims of Java Concurrency -->
## 四句格言


<!-- The Brutal Truth -->
## 残酷的真相


<!-- The Rest of the Chapter -->
## 本章其余部分


<!-- Parallel Streams -->
## 并行流


<!-- Creating and Running Tasks -->
## 创建和运行任务


<!-- Terminating Long-Running Tasks -->
## 终止耗时任务


<!-- CompletableFutures -->
## CompletableFuture类


<!-- Deadlock -->
## 死锁


<!-- Constructors are not Thread-Safe -->
## 构造函数非线程安全


<!-- Effort, Complexity,Cost -->
## 复杂性和代价


<!-- Summary -->
## 本章小结



<!-- 分页 -->

<div style="page-break-after: always;"></div>