![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
yangjingxu
这个作者很懒,什么都没留下…
展开
-
ANT 1.8.2 New Features
junt task's test element supports methods attribute. Now it is possible to test a single method.http://ant.apache.org/manual/Tasks/junit.html2011-07-14 16:48:26 · 79 阅读 · 0 评论 -
Signal Handling in Java
class Hook1 extends Thread { @Override public void run() { System.out.println("hook1"); }}class Hook2 extends Thread { @Override public void run() { System.out.prin...2011-08-01 22:21:34 · 80 阅读 · 0 评论 -
Secondary Sort in Hadoop
I write this stuff since it confused me a lot.First, the input Iterable values for reduce method is not sorted in any order. It is mentioned on Page 277 in Hadoop: The Definitive Guide, Third ...2013-03-26 16:08:17 · 91 阅读 · 0 评论 -
How do unsynchronized values get updated in Java?
Section Visibility in http://gee.cs.oswego.edu/dl/cpj/jmm.html answesr this question.2013-05-27 17:59:58 · 155 阅读 · 0 评论 -
Division and modulo in C/C++, Java and Python
[quote]a is an integer, n is a positive integer.C/C++=====quotient is rounded towards zero. a mod n = a - n (a/n)Python======Same as defined by CRLS.[/quote]原创 2013-12-19 12:58:08 · 177 阅读 · 0 评论 -
PrintStream vs PrintWriter (MEMO)
http://stackoverflow.com/questions/2822005/java-difference-between-printstream-and-printwriterhttp://stackoverflow.com/questions/11372546/printstream-vs-printwriter原创 2014-07-11 18:01:59 · 164 阅读 · 0 评论