随笔分类 - java
1
摘要:# arthas命令: 找到对应的全量类名1.sc *.类名输出 com.cn.xxxx.类名反编译类:jad2.jad --source-only 全类名 > /tmp/类名.java3.修改类文件vim /tmp/类名.java找到要修改的方法,修改内容4.查找类加载器sc -d *类名 | g
阅读全文
摘要:List对象 转换单个属性 List<String> ids = list.stream().map(User::getUserId).collect(Collectors.toList()); List<String> ids = 对象List.stream().map(对象::get属性).co
阅读全文
摘要:加法:add 减法:subtract 乘法:multiply 除法:divide BigDecimal bignum1 = new BigDecimal("10"); BigDecimal bignum2 = new BigDecimal("5"); BigDecimal bignum3 = nul
阅读全文
摘要:import com.alibaba.druid.filter.config.ConfigTools; ConfigTools.decrypt(pubkey, pwd);
阅读全文
摘要:<if test="myList != null and myList.size() >0"> <foreach collection="myList" index="index" item="item" open="and (" separator=" or " close=")"> name l
阅读全文
摘要:最简单的父子结构表 函数创建语句: 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
阅读全文
摘要:方法一: 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????
阅读全文
摘要:set ff=unix#!/bin/basha=`date +%Y%m%d`;#获取当前时间start(){ echo "start project..." if [[ ! -d ./pid/ ]]; then mkdir -p pid; fi; if [[ ! -d ./serverLog/ ]]
阅读全文
摘要:java -Xdebug -Xrunjdwp:transport=dt_socket,address=9310,server=y,suspend=y -Dfile.encoding=utf-8 -jar nelda-admin.jar
阅读全文
摘要:javaw -Dfile.encoding=utf-8 -jar abuqiabuqipilipalapen.jar
阅读全文
摘要://序列化成String的传 @JsonSerialize(using = ToStringSerializer.class) private Long id;
阅读全文
摘要:debug configuration -Xms512m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8" standalone="no"?> <templates> <template autoinsert="true" context="gettercomment_context" deleted="false" descrip
阅读全文
摘要: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
阅读全文
摘要:任务管理器结束进程javaw.exe
阅读全文
摘要:List rptResult = new ArrayList(); List tempResult = new ArrayList(); tempResult = //从数据库取出已order的数据集; rptResult = sortRPT(tempResult); @SuppressWarnin
阅读全文
摘要:double b= 4.1625;java.math.BigDecimal d= new java.math.BigDecimal( b);
阅读全文
摘要:@Id @GeneratedValue(generator = "SEQ_COMREPORTHEAD") @SequenceGenerator(name = "SEQ_COMREPORTHEAD", sequenceName = "SEQ_COMREPORTHEAD") >>>>>>>>>>>>>>
阅读全文
摘要:tomcat配置成jdk1.8
阅读全文
摘要:Windows-Preferences-Java-Complicer-Errors/Warnings Deprecated and restricted API Forbidden references(access rules)>>>>>Warning就可以编译通过了
阅读全文
1