随笔分类 -  Java

Java开发
摘要:1. Java Platform, Standard Edition Documentation 2. 历史版本下载地址 3. open jdk 4. jdk 源码 阅读全文
posted @ 2021-12-06 10:18 lvlin241 编辑
摘要:jdk8 Troubleshooting Guide 1. Prepare Java for Troubleshooting 2. Diagnostic Tools 3. Troubleshoot Memory Leaks 4. Troubleshoot Performance Issues Usi 阅读全文
posted @ 2021-12-06 10:05 lvlin241 阅读(47) 评论(0) 推荐(0) 编辑
摘要:greys doc 阅读全文
posted @ 2020-07-23 17:17 lvlin241 阅读(122) 评论(0) 推荐(0) 编辑
摘要:源码地址:https://github.com/CloudWise-OpenSource/Data-Processer Demo地址:https://github.com/CloudWise-OpenSource/Data-Processer-Demo 阅读全文
posted @ 2019-10-15 10:58 lvlin241 阅读(659) 评论(0) 推荐(0) 编辑
摘要:https://supert.club:315/ 可随机生成:身份证号码,营业执照注册号,组织机构代码,统一社会信用代码,手机号码,银行卡账号等 阅读全文
posted @ 2019-09-04 17:24 lvlin241 阅读(2001) 评论(0) 推荐(0) 编辑
摘要:linux线上资源耗时定位 https://www.cnblogs.com/wuchanming/p/7766994.html 1. jps -ml 查看服务器上运行的Java程序 2. jmap 查看堆内存 3. jstat Java应用程序的资源和性能进行实时的命令行的监控,包括了对Heap size和垃圾回收状况的监控 参考:https://www.jianshu.com/p/213710f 阅读全文
posted @ 2019-08-20 11:54 lvlin241 阅读(2236) 评论(0) 推荐(0) 编辑
摘要:http://java.sun.com/products/archive/ 参考:https://blog.csdn.net/shiluyong8068/article/details/78947476 阅读全文
posted @ 2019-07-15 10:24 lvlin241 阅读(301) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/x6582026/article/details/52179817/ 1、引入jar包 log4j-1.2.17.jar log4j-core-2.11.2.jar slf4j-log4j12-1.7.12.jar 2、配置log4j.properties,放在src/resource 或则 src目录下 3、定义Lo... 阅读全文
posted @ 2019-04-21 19:00 lvlin241 阅读(120) 评论(0) 推荐(0) 编辑
摘要:// 定义校验规则 Pattern patRule = Pattern.compile("判断规则"); // 校验结果 patRule.matcher("判断的对象").matches(); 1、秒钟、分钟、小时判断规则 String smh = "([0-9]|[1-5][0-9]|59)"; 2、日校验规则 String dayRule= "([1-9]|[1-2][2... 阅读全文
posted @ 2019-03-29 17:16 lvlin241 阅读(2144) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/wangtaocsdn/article/details/71500500 阅读全文
posted @ 2019-01-17 14:30 lvlin241 阅读(495) 评论(0) 推荐(0) 编辑
摘要:// 参考: https://www.cnblogs.com/blog5277/p/6407463.htmlpublic class DateTest { // 支持时分秒 private static String LocalDateTimeTest(){ LocalDateTime date = LocalDateTime.now(); Strin... 阅读全文
posted @ 2018-09-21 10:54 lvlin241 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/a-du/p/7736181.html ElasticSearch 全文检索,参考: https://my.oschina.net/UpBoy/blog/703560 阅读全文
posted @ 2018-09-05 17:23 lvlin241 阅读(103) 评论(0) 推荐(0) 编辑
摘要:问题: 一个界面有个多个文本框输入值(或下拉框)展示的查询条件,也就是组合条件查询,需要在java里面动态拼接SQL,where条件如何写? 解决思路: 在where关键字后面固定写 1=1, 若还有其他条件,直接拼接 " and 条件 "。 阅读全文
posted @ 2018-09-05 10:20 lvlin241 阅读(4016) 评论(0) 推荐(0) 编辑
摘要:XOM 参考:https://xom.nu/ java 利用XOM解析XML 参考:http://blog.sodhanalibrary.com/2014/09/parse-xml-using-java.html#.W0rOEjozbIU XOM解析XML为Java对象 补充:https://www 阅读全文
posted @ 2018-07-15 12:30 lvlin241 阅读(148) 评论(0) 推荐(0) 编辑
摘要:1 package com.redis; 2 3 import java.io.IOException; 4 import java.util.concurrent.ConcurrentHashMap; 5 6 import redis.clients.jedis.Jedis; 7 import redis.clients.jedis.Transaction; ... 阅读全文
posted @ 2017-11-16 19:41 lvlin241 阅读(994) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示