摘要: 阅读全文
posted @ 2020-01-20 17:31 刀锋意志1 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-20 14:59 刀锋意志1 阅读(146) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws SQLException { DataSource ds = new ComboPooledDataSource(); JdbcTemplate jt = new JdbcTemplate(ds); Stri 阅读全文
posted @ 2020-01-19 22:34 刀锋意志1 阅读(426) 评论(0) 推荐(0) 编辑
摘要: https://mvnrepository.com/ 阅读全文
posted @ 2020-01-19 16:46 刀锋意志1 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-19 16:34 刀锋意志1 阅读(63) 评论(0) 推荐(0) 编辑
摘要: package cn.itcast.junit.fanshe; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import jav 阅读全文
posted @ 2020-01-18 15:55 刀锋意志1 阅读(454) 评论(0) 推荐(0) 编辑
摘要: lambda优化日志案例 public class Demo { public static void show_log(int i ,String msg){ if (i == 1){ System.out.print(msg); } } public static void main(Strin 阅读全文
posted @ 2020-01-18 12:30 刀锋意志1 阅读(162) 评论(0) 推荐(0) 编辑
摘要: package demo06; import java.io.Serializable; public class Pserson implements Serializable { private static final long serialVersionUID = 1L; private S 阅读全文
posted @ 2020-01-18 10:35 刀锋意志1 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-16 22:07 刀锋意志1 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: public boolean equals(Object obj) { //使用乡下转型,把object转换成Person类型 if (obj instanceof Person){ Person p = (Person)obj; return this.name.equals(p.name) && 阅读全文
posted @ 2020-01-16 18:08 刀锋意志1 阅读(100) 评论(0) 推荐(0) 编辑