会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
northli
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
23
24
25
26
27
28
29
30
31
···
35
下一页
2022年1月19日
idea展开或者折叠方法
摘要: 进入setting-> keymap1、展开快捷键,搜索关键词:expand all2、折叠快捷键,搜索关键词:eclapse all3、或者直接搜索 folding 参考: http://t.zoukankan.com/jaysonteng-p-14199578.html
阅读全文
posted @ 2022-01-19 12:08 northli
阅读(684)
评论(0)
推荐(0)
2022年1月16日
sql主要用做加法,减法和乘除用java
摘要: sql主要用做加法,减法和乘除用java
阅读全文
posted @ 2022-01-16 11:06 northli
阅读(79)
评论(0)
推荐(0)
2022年1月15日
java保留两位小数
摘要: double f = 111231.5585;System.out.println(String.format("%.2f", f))
阅读全文
posted @ 2022-01-15 23:20 northli
阅读(30)
评论(0)
推荐(0)
java 两个list相加,list求和
摘要: List<String> list1 = new ArrayList<String>();list1.add("aaa");list1.add("bbb");list1.add("ccc");List<String> list2 = new ArrayList<String>();list2.add
阅读全文
posted @ 2022-01-15 23:08 northli
阅读(4282)
评论(0)
推荐(0)
两个递归,对统一个list进行操作,会造成并发bug
摘要: 两个递归,对统一个list进行操作,会造成并发bug
阅读全文
posted @ 2022-01-15 18:19 northli
阅读(34)
评论(0)
推荐(0)
2022年1月14日
mybatis 查询参数为1000,查询效率可以接受, 超过10000,查询效率就比较慢
摘要: mybatis 查询参数为1000,查询效率可以接受, 超过10000,查询效率就比较慢
阅读全文
posted @ 2022-01-14 23:38 northli
阅读(440)
评论(1)
推荐(0)
java list 删除指定元素
摘要: 通过iterator删除 String code_first = "123"; Iterator iterator = list.iterator();while(iterator.hasNext()){ TMP tmp = (TMP) iterator.next(); if(tmp.getCode
阅读全文
posted @ 2022-01-14 19:12 northli
阅读(388)
评论(0)
推荐(0)
java 字符串比较大小
摘要: String str1 = "270026";String str2 = "270001";System.out.println(str1.compareTo(str2)<0?str1:str2);
阅读全文
posted @ 2022-01-14 19:08 northli
阅读(88)
评论(0)
推荐(0)
java 工程引入jar包
摘要: File > Project Structure > Modules > Dependencies > “+” > “JARs or directories...”
阅读全文
posted @ 2022-01-14 12:13 northli
阅读(21)
评论(0)
推荐(0)
java list 并集
摘要: 使用apache的CollectionUtils工具类 String[] arrayA = new String[] { "1", "2", "3", "4"}; String[] arrayB = new String[] { "3", "4", "5", "6" }; List<String>
阅读全文
posted @ 2022-01-14 12:10 northli
阅读(620)
评论(0)
推荐(0)
上一页
1
···
23
24
25
26
27
28
29
30
31
···
35
下一页
公告