随笔分类 -  java

1
摘要:# arthas命令: 找到对应的全量类名1.sc *.类名输出 com.cn.xxxx.类名反编译类:jad2.jad --source-only 全类名 > /tmp/类名.java3.修改类文件vim /tmp/类名.java找到要修改的方法,修改内容4.查找类加载器sc -d *类名 | g 阅读全文
posted @ 2023-10-19 10:11 已老 阅读(100) 评论(0) 推荐(0) 编辑
摘要:List对象 转换单个属性 List<String> ids = list.stream().map(User::getUserId).collect(Collectors.toList()); List<String> ids = 对象List.stream().map(对象::get属性).co 阅读全文
posted @ 2022-01-12 09:54 已老 阅读(40) 评论(0) 推荐(0) 编辑
摘要:加法:add 减法:subtract 乘法:multiply 除法:divide BigDecimal bignum1 = new BigDecimal("10"); BigDecimal bignum2 = new BigDecimal("5"); BigDecimal bignum3 = nul 阅读全文
posted @ 2022-01-04 18:31 已老 阅读(203) 评论(0) 推荐(0) 编辑
摘要:import com.alibaba.druid.filter.config.ConfigTools; ConfigTools.decrypt(pubkey, pwd); 阅读全文
posted @ 2021-11-02 18:35 已老 阅读(80) 评论(0) 推荐(0) 编辑
摘要:<if test="myList != null and myList.size() >0"> <foreach collection="myList" index="index" item="item" open="and (" separator=" or " close=")"> name l 阅读全文
posted @ 2021-05-27 10:57 已老 阅读(1796) 评论(0) 推荐(0) 编辑
摘要:最简单的父子结构表 函数创建语句: select version();#5.7.26show variables like "sql_mode";#sql_mode ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE 阅读全文
posted @ 2019-11-01 00:07 已老 阅读(713) 评论(0) 推荐(0) 编辑
摘要:方法一: 10L 7L 3L 7 0 3 7 3 0 4 3 3 4 6 0 1 6 3 1 7 2 8 0 2 8 2 0 5 2 3 5 5 0 ???????? 方法二: 10L 7L 3L 3 7 0 3 4 3 6 4 0 6 1 3 9 1 0 9 0 1 2 7 1 2 5 3???? 阅读全文
posted @ 2019-10-31 19:30 已老 阅读(5674) 评论(0) 推荐(0) 编辑
摘要:set ff=unix#!/bin/basha=`date +%Y%m%d`;#获取当前时间start(){ echo "start project..." if [[ ! -d ./pid/ ]]; then mkdir -p pid; fi; if [[ ! -d ./serverLog/ ]] 阅读全文
posted @ 2018-03-23 19:23 已老 阅读(322) 评论(0) 推荐(0) 编辑
摘要:java -Xdebug -Xrunjdwp:transport=dt_socket,address=9310,server=y,suspend=y -Dfile.encoding=utf-8 -jar nelda-admin.jar 阅读全文
posted @ 2018-03-23 19:20 已老 阅读(356) 评论(0) 推荐(0) 编辑
摘要:javaw -Dfile.encoding=utf-8 -jar abuqiabuqipilipalapen.jar 阅读全文
posted @ 2017-12-05 08:55 已老 阅读(1457) 评论(0) 推荐(0) 编辑
摘要://序列化成String的传 @JsonSerialize(using = ToStringSerializer.class) private Long id; 阅读全文
posted @ 2017-10-20 11:40 已老 阅读(2106) 评论(0) 推荐(0) 编辑
摘要:debug configuration -Xms512m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m 阅读全文
posted @ 2017-06-15 14:43 已老 阅读(195) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8" standalone="no"?> <templates> <template autoinsert="true" context="gettercomment_context" deleted="false" descrip 阅读全文
posted @ 2017-03-13 10:07 已老 阅读(1220) 评论(0) 推荐(0) 编辑
摘要:http://malagis.com/arcgis-desktop-10-2-full-cracked-installation-tutorial-with-win7-32-64.html 安装&破解步骤 运行ESRI.exe 与ArcGIS 10.1的安装破解不同,10.2不需要安装第3方修改的L 阅读全文
posted @ 2017-03-08 11:27 已老 阅读(316) 评论(0) 推荐(0) 编辑
摘要:任务管理器结束进程javaw.exe 阅读全文
posted @ 2017-03-08 09:28 已老 阅读(546) 评论(0) 推荐(0) 编辑
摘要:List rptResult = new ArrayList(); List tempResult = new ArrayList(); tempResult = //从数据库取出已order的数据集; rptResult = sortRPT(tempResult); @SuppressWarnin 阅读全文
posted @ 2017-03-03 14:26 已老 阅读(318) 评论(0) 推荐(0) 编辑
摘要:double b= 4.1625;java.math.BigDecimal d= new java.math.BigDecimal( b); 阅读全文
posted @ 2017-03-01 10:42 已老 阅读(2790) 评论(0) 推荐(0) 编辑
摘要:@Id @GeneratedValue(generator = "SEQ_COMREPORTHEAD") @SequenceGenerator(name = "SEQ_COMREPORTHEAD", sequenceName = "SEQ_COMREPORTHEAD") >>>>>>>>>>>>>> 阅读全文
posted @ 2017-02-27 17:08 已老 阅读(404) 评论(0) 推荐(0) 编辑
摘要:Windows-Preferences-Java-Complicer-Errors/Warnings Deprecated and restricted API Forbidden references(access rules)>>>>>Warning就可以编译通过了 阅读全文
posted @ 2017-02-27 15:52 已老 阅读(515) 评论(0) 推荐(0) 编辑

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