算法

 2016-06-22

其中第九种为java.util.Arrays.sort(改进的快速排序方法)

Read More
技术

 2016-06-20

常用的注释标签:

Read More
Java

 2016-06-17

原文出处:http://www.gn00.com/t-184116-1-1.html

Read More
技术

 2016-06-15

timestamp有两个属性,分别是CURRENT_TIMESTAMP 和ON UPDATE CURRENT_TIMESTAMP两种,使用情况分别如下:

Read More
Java

 2016-06-09

Java NIO中的SocketChannel是一个连接到TCP网络套接字的通道。可以通过以下2种方式创建SocketChannel:

Read More
Java

 2016-06-09

Java NIO中的FileChannel是一个连接到文件的通道。可以通过文件通道读写文件。

Read More
Java

 2016-06-09

Selector(选择器)是Java NIO中能够检测一到多个NIO通道,并能够知晓通道是否为诸如读写事件做好准备的组件。这样,一个单独的线程可以管理多个channel,从而管理多个网络连接。

Read More
Java

 2016-06-09

In Java NIO you can transfer data directly from one channel to another, if one of the channels is a FileChannel. The FileChannel class has a transferTo() and a transferFrom() method which does this for you.

Read More
Java

 2016-06-09

Java NIO开始支持scatter/gather,scatter/gather用于描述从Channel(译者注:Channel在中文经常翻译为通道)中读取或者写入到Channel的操作。

Read More

subscribe via RSS