From c3a9d0b82d0c69d33ef5ff66cf959414e2b20d1f Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Thu, 29 Mar 2018 09:37:38 +0800 Subject: [PATCH] auto commit --- notes/Java IO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Java IO.md b/notes/Java IO.md index 6e91761b..1c1e4e1b 100644 --- a/notes/Java IO.md +++ b/notes/Java IO.md @@ -392,7 +392,7 @@ MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_WRITE, 0, 1024); NIO 与普通 I/O 的区别主要有以下两点: - NIO 是非阻塞的。应当注意,FileChannel 不能切换到非阻塞模式,套接字 Channel 可以。 -- NIO 面向流,I/O 面向块。 +- NIO 面向块,I/O 面向流。 # 八、参考资料