andy Space

博客园 首页 新随笔 联系 订阅 管理

2011年6月9日 #

摘要: public class Test{public static void main(String[] args)throws Exception{for(int i=0; i<=9999999999L; i++){System.out.println(Sequence.get());}}}class Sequence{private static final String str="99";private static int[] arr = new int[str.length()];public static synchronized String get() t 阅读全文
posted @ 2011-06-09 19:16 andyliang 阅读(687) 评论(0) 推荐(0)

2007年5月2日 #

摘要: import java.util.Iterator; public class LinkList implements Iterable { Data first; Data last; Data current; int count; public LinkList() { } public boolean add(V obj) { boolean ret = false; Dat... 阅读全文
posted @ 2007-05-02 23:10 andyliang 阅读(548) 评论(0) 推荐(0)