上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: StringBuffer sb = new StringBuffer(200); for (int i = 1, j = 1; j <= 9; i++) { sb.append(j+"*"+i+"="+i*j+" "); if (i == j) { i = 0; ... 阅读全文
posted @ 2018-01-12 14:38 aLa神灯 阅读(232) 评论(0) 推荐(0) 编辑
摘要: package interfacepage; import java.awt.event.ActionListener; import java.util.Arrays; import java.util.Comparator; import java.util.stream.Stream; import javax.swing.Timer; import tools.ArrayTools;... 阅读全文
posted @ 2018-01-11 18:41 aLa神灯 阅读(183) 评论(0) 推荐(0) 编辑
摘要: package innerclass; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; public class InnerClassTest { public static void... 阅读全文
posted @ 2018-01-11 18:40 aLa神灯 阅读(93) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/bigheadsheep/article/details/43527247 https://www.cnblogs.com/Brambling/p/6754993.html 唯一索引 聚集索引 非聚集索引 阅读全文
posted @ 2018-01-11 15:22 aLa神灯 阅读(82) 评论(0) 推荐(0) 编辑
摘要: public class TTest { public static void main(String[] args) { // TODO Auto-generated method stub } /** * Java泛型中和的区别 * * 限制元素上限 * * 限制下限 ... 阅读全文
posted @ 2018-01-10 18:57 aLa神灯 阅读(80) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays; import java.util.Comparator; public class LengthComparator implements Comparator { @Override public int compare(String first, String second) { System.out.pr... 阅读全文
posted @ 2018-01-10 18:55 aLa神灯 阅读(91) 评论(0) 推荐(0) 编辑
摘要: package interfacepage; import java.sql.Date; public class CloneTest { /** * @author:lixh */ public static void main(String[] args) { // TODO Auto-generated method stub ... 阅读全文
posted @ 2018-01-09 23:34 aLa神灯 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 如果是想通过严格的类名判断就使用 getClass 如果是子父类某些属性相等就视为相等就使用instanceOf /* public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null ||... 阅读全文
posted @ 2018-01-09 23:33 aLa神灯 阅读(72) 评论(0) 推荐(0) 编辑
摘要: package interfacepage; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; public class TimerTest implements ActionListener ... 阅读全文
posted @ 2018-01-09 21:11 aLa神灯 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public interface PersonO { /*default String getName(){ return getClass().getName(); }*/ int size(); default boolean max(){ return size() == 0; } Str... 阅读全文
posted @ 2018-01-09 10:31 aLa神灯 阅读(100) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页