09 2016 档案
摘要:原题: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adj
阅读全文
摘要:Java NIO 1 背景介绍 在 "上一篇文章" 中我们介绍了Java基本IO,也就是阻塞式IO(BIO),在JDK1.4版本后推出了新的IO系统(NIO),也可以理解为非阻塞IO(Non Blocking IO)。引用《Java NIO》中的一段话来解释一下NIO出现的原因: 操作系统与 Jav
阅读全文