1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #1913 from CyrilFeng/patch-1

错别字fix
This commit is contained in:
Guide 2023-02-08 15:51:03 +08:00 committed by GitHub
commit 3cf54eb0d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) {
适配器和适配者两者不需要继承相同的抽象类或者实现相同的接口。 适配器和适配者两者不需要继承相同的抽象类或者实现相同的接口。
另外,`FutrueTask` 类使用了适配器模式,`Executors` 的内部类 `RunnableAdapter` 实现属于适配器,用于将 `Runnable` 适配成 `Callable` 另外,`FutureTask` 类使用了适配器模式,`Executors` 的内部类 `RunnableAdapter` 实现属于适配器,用于将 `Runnable` 适配成 `Callable`
`FutureTask`参数包含 `Runnable` 的一个构造方法: `FutureTask`参数包含 `Runnable` 的一个构造方法:
@ -316,4 +316,4 @@ class PollingWatchService
- Patterns in Java APIshttp://cecs.wright.edu/~tkprasad/courses/ceg860/paper/node26.html - Patterns in Java APIshttp://cecs.wright.edu/~tkprasad/courses/ceg860/paper/node26.html
- 装饰器模式:通过剖析 Java IO 类库源码学习装饰器模式https://time.geekbang.org/column/article/204845 - 装饰器模式:通过剖析 Java IO 类库源码学习装饰器模式https://time.geekbang.org/column/article/204845
- sun.nio 包是什么,是 java 代码么? - RednaxelaFX https://www.zhihu.com/question/29237781/answer/43653953 - sun.nio 包是什么,是 java 代码么? - RednaxelaFX https://www.zhihu.com/question/29237781/answer/43653953