- 博客(7)
- 问答 (1)
- 收藏
- 关注
原创 类语句块
public class Snippet extends supperone{ public static void main(String[] args) { new Thread() { { setDaemon(true); } public void run() { System.out.println("acquired"); } }.s...
2014-03-31 15:49:12 167
原创 字符串不同,hashcode可以相同
public class Snippet { public static void main(String[] args) { System.out.println("buzzards".hashCode()); System.out.println("righto".hashCode()); System.out.println("buzzards...
2014-03-31 15:22:40 242
原创 tcl regexp
regexp regexp {(?:.*)(?:xx/)(.*?)(/)(.*)} $b all var =============== tst ===============set a {<xxxxx/fadxx/abc/yyyyyyyyyyyyyyy }if [regexp {(?:.*)(?:ip/)(.*?)(/)(.*)} $b all var] {puts $va...
2014-03-26 16:42:27 577
原创 基本的小程序
斐波那契数列。(Fibonacci) public class Fibonacci { public static int fib(int n) { if(n < 2) return 1; return fib(n-2) + fib(n-1); } public static void main(String[] args) { for(int i...
2014-03-25 14:45:38 111
原创 Thinking in Java source code and practice
关键字:Thinking in Java source code and practice、Java编程思想源代码(第4版)和习题答案
2014-03-25 10:49:15 142
空空如也
是否需要getAbsoluteFile,getAbsoluteFile的作用?
2014-05-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人