
java7
gmemai
这个作者很懒,什么都没留下…
展开
-
What is the difference between a soft reference and a weak reference in Java?
Weak referencesA weak reference, simply put, is a reference that isn’t strong enough to force an object to remain in memory. Weak references allow you to leverage the garbage collector’s ability to det转载 2015-09-28 15:12:23 · 376 阅读 · 0 评论 -
Java NIO AsynchronousFileChannel
In Java 7 the AsynchronousFileChannel was added to Java NIO. The AsynchronousFileChannel makes it possible to read data from, and write data to files asynchronously. This tutorial will explain how to u转载 2015-10-14 11:50:40 · 406 阅读 · 0 评论 -
Java NIO Files
The Java NIO Files class (java.nio.file.Files) provides several methods for manipulating files in the file system. This Java NIO Files tutorial will cover the most commonly used of these methods. The F转载 2015-10-15 10:03:40 · 735 阅读 · 0 评论