摘要:
一、集合 (1)集合接口 Collection -List -Queue -Set Map (2)Collections工具类 binarySearch sort reverse max min shuffle fill copy synchronizedXXX 二、List (1)ArrayLis 阅读全文
摘要:
一、NIO NIO是new IO,也是非阻塞IO。有Channel、Selector、Buffer、Pipe、FileLock等类。 Buffer在java.nio包 Channel、Selector、Pipe、FileLock等在java.nio.channels包 二、Channel通道 设置非 阅读全文
摘要:
一、IO的类型 面向字节的流,面向字符的流 二、面向字节的流 (1)InputStream FileInputStream FilterInputStream -BufferedInputStream -DataInputStream -PushbackInputStream 回退流 unread( 阅读全文