摘要: 待 阅读全文
posted @ 2015-09-21 20:36 Maydow 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1、List转数组 采用API中的T[] List.toArray(T[] a) 方法 ,不能直接使用 (T[])list.toArray() 因为数组不能够直接强制转换,例如 Object[] objs={"123","456"}; String[] string... 阅读全文
posted @ 2015-09-21 19:52 Maydow 阅读(527) 评论(0) 推荐(0) 编辑
摘要: public static int multiple(int a,int b) { int result=0; int c=0; while(b!=0) { if((b&0x01)==1) ... 阅读全文
posted @ 2015-09-21 10:44 Maydow 阅读(193) 评论(0) 推荐(0) 编辑