会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
【MapSheep】
[好记性不如烂笔头]
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
29
下一页
2021年4月22日
sleep()和wait()方法区别
摘要: sleep()和wait()方法区别 由于sleep()方法是Thread类的方法,因此它不能改变对象的机锁。 当在一个Synchronized方法中调用sleep()时,线程虽然休眠了,但是对象的机锁没有被释放,其他线程仍然无法访问这个对象。 wait()方法则会在线程休眠的同时释放掉机锁,其他线
阅读全文
posted @ 2021-04-22 11:24 (Play)
阅读(64)
评论(0)
推荐(0)
2021年4月19日
String类型转换BigDecimal类型
摘要: // 演示 public static void main(String[] args) { String str1="3.141516"; BigDecimal bd=new BigDecimal(str1); System.out.println(bd); } // 简化代码 new BigDe
阅读全文
posted @ 2021-04-19 17:16 (Play)
阅读(970)
评论(0)
推荐(0)
2021年4月16日
使用Lambda表达式.map循环遍历List集合赋值
摘要: 使用Lambda表达式给对象赋值 技术点 使用Lambda表达式.map循环遍历List集合赋值 实体类 @Data public class InfoNoticeItem implements Serializable { /** * serialVersionUID */ private sta
阅读全文
posted @ 2021-04-16 18:19 (Play)
阅读(5124)
评论(0)
推荐(0)
2021年4月7日
维修费用统计(导出)
摘要: 前台代码 html: <button class="btn greenButton" style="width:auto;padding: 0 12px;" ng-click="exportXML()">导出</button> controller: //导出 $scope.exportXML =
阅读全文
posted @ 2021-04-07 18:55 (Play)
阅读(114)
评论(0)
推荐(0)
21
摘要: 21
阅读全文
posted @ 2021-04-07 18:36 (Play)
阅读(33)
评论(0)
推荐(0)
2021年3月25日
MyBatis中@Select、@Update注解的使用
摘要: MyBatis中@Select、@Update注解的使用 请求地址和两种接受值的方式 请求地址 http://localhost:8888/Company/findEmpNo?str=2 两种接受值的方式 第一种 定义: (@Param("empNo") String empNo); 接收: sel
阅读全文
posted @ 2021-03-25 14:21 (Play)
阅读(1595)
评论(0)
推荐(0)
2021年3月23日
RabbitMQ启动报【=SUPERVISOR REPORT==== 23-Mar-2021::15:21:27.703000 ===】
摘要: RabbitMQ启动报错 日志 =SUPERVISOR REPORT 23-Mar-2021::15:21:27.703000 supervisor: {local,'Elixir.Logger.Supervisor'} errorContext: start_error reason: nopro
阅读全文
posted @ 2021-03-23 17:09 (Play)
阅读(1246)
评论(0)
推荐(0)
2021年3月21日
JavaSE知识点总结
摘要: 0.代码展示 // 1. 把数组中的字段变成字符串,并且循环展示 // 输出:[1, 2, 4, 545, 11, 32, 13131, 4444] int[] ints = {1, 2, 4, 545, 11, 32, 13131, 4444}; //定义数组 int[] code = new i
阅读全文
posted @ 2021-03-21 20:41 (Play)
阅读(42)
评论(0)
推荐(0)
2021年3月12日
Redis的五大数据类型特性及应用场景
摘要: Redis的五大数据类型 一个key对应一个value: String 字符串 String是redis最基本的类型,一个key对应一个value; String类型是二进制安全的,意思是redis的string可以包含任何数据: 比如:jpg图片或者序列化的对象; 一个redis中的字符串valu
阅读全文
posted @ 2021-03-12 17:17 (Play)
阅读(260)
评论(0)
推荐(0)
Centos7更换阿里源
摘要: 更换源之前,请确保Centos7 已经连上网 cd /etc cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.back #建议备份或者改名 wget -O CentOS-Base.repo http://mirrors.aliyun
阅读全文
posted @ 2021-03-12 15:58 (Play)
阅读(183)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
29
下一页