上一页 1 ··· 380 381 382 383 384 385 386 387 388 ··· 621 下一页

2020年12月2日

摘要: MyBatis-Plus https://www.imooc.com/article/73275 pom.xml: <!-- MyBatis Plus --><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-b 阅读全文
posted @ 2020-12-02 09:17 lydstory 阅读(197) 评论(0) 推荐(0)

2020年12月1日

摘要: OutputStream out = socket.getOutputStream(); out.write(toBytes(cmd)); InputStream in = socket.getInputStream(); while ((len = in.read(bytes)) != -1) { 阅读全文
posted @ 2020-12-01 23:10 lydstory 阅读(217) 评论(0) 推荐(0)
摘要: public class StringBufferDemo { public static void main(String args[]) { StringBuffer sb = new StringBuffer("hello"); System.out.println("buffer ="+sb 阅读全文
posted @ 2020-12-01 23:06 lydstory 阅读(228) 评论(0) 推荐(0)
摘要: private void closeSocket() { try { socket.close(); } catch (IOException e) { } } IOException 阅读全文
posted @ 2020-12-01 22:48 lydstory 阅读(831) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/wang-yaz/p/10574825.html 阅读全文
posted @ 2020-12-01 22:42 lydstory 阅读(138) 评论(0) 推荐(0)
摘要: import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ConcurrentLinkedQueue; public class ConQueue { public static void main( 阅读全文
posted @ 2020-12-01 21:45 lydstory 阅读(39) 评论(0) 推荐(0)
摘要: 背景:springboot项目 使用条件(a) 在 application.properties(或.yaml)里配置相应值,比如想使用@Value("${a.b}"), 那么application里应该有:a.b=xxx(b) 使用@Value所在类必须是由spring管理的,比如加上@Confi 阅读全文
posted @ 2020-12-01 21:34 lydstory 阅读(527) 评论(0) 推荐(0)
摘要: import com.sofosofi.watermark.config.SystemParam;自己写的类 调用import 类似c c++的include 指向自己写的类 阅读全文
posted @ 2020-12-01 21:21 lydstory 阅读(752) 评论(0) 推荐(0)
摘要: package test.filter; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletCon 阅读全文
posted @ 2020-12-01 21:14 lydstory 阅读(109) 评论(0) 推荐(0)
摘要: import java.util.ArrayList; public class Hello { public static void main(String[] args) { ArrayList<String> list = new ArrayList<String>(); list.add(" 阅读全文
posted @ 2020-12-01 21:03 lydstory 阅读(62) 评论(0) 推荐(0)
上一页 1 ··· 380 381 382 383 384 385 386 387 388 ··· 621 下一页

导航