05 2013 档案
摘要:Wait functionsallow a thread to block its own execution. The wait functions do not return until the specified criteria have been met. The type of wait function determines the set of criteria used. When a wait function is called, it checks whether the wait criteria have been met. If the criteria have
阅读全文
摘要:最近开始学习Java,java编程思想的确是本好书。现在看到第二章了,按照示例代码敲出来:import java.util.*;public class Example { public static void main(String[] args) { System.out.println (new Date()); System.out.println("Memeory"); Runtime rt = Runtime.getRuntime(); System.out.println("Tot Memory: " + rt.totalMemory()
阅读全文