摘要:
1.Integer转换成int的方法 Integer i = new Integer(10); int k = i.intValue();即Integer.intValue(); 2.int转换成Integer int i = 10; Integer it = new Integer(i); 3.S 阅读全文
摘要:
CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。 主要方法 public CountDownLatch(int count); public void countDown(); public void await() throws 阅读全文