摘要: 先贴源码 public synchronized StringBuffer append(String str) { toStringCache = null; super.append(str); return this; } 进入AbstractStringBuilder的append,源码如下 阅读全文
posted @ 2023-02-06 10:49 程序员丁先生 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Integer.toHexString(System.identityHashCode(a)) 阅读全文
posted @ 2023-02-03 16:44 程序员丁先生 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1、新建WebSocketConfig配置类 package com.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configura 阅读全文
posted @ 2023-02-01 16:04 程序员丁先生 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String a1 = new String("1") + new String("1"); a1.intern(); String b1 = "11"; System.out.println(a1 == b1); S 阅读全文
posted @ 2023-01-05 17:25 程序员丁先生 阅读(22) 评论(0) 推荐(0) 编辑
摘要: PDF.JS VUE SPRING 阅读全文
posted @ 2022-11-01 17:56 程序员丁先生 阅读(241) 评论(0) 推荐(0) 编辑
摘要: anaconda3 使用 jupyterlab 阅读全文
posted @ 2022-10-17 17:58 程序员丁先生 阅读(304) 评论(0) 推荐(0) 编辑
摘要: package com.credithc.microenterprise.utils; import com.credithc.microenterprise.utils.adapter.DoubleDefaultAdapter; import com.credithc.microenterpris 阅读全文
posted @ 2022-08-26 15:23 程序员丁先生 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1、时间格式化成固定格式字符串 SELECT DATE_FORMAT(NOW(),'%Y-%m-%d %H:%i:%s') 2、获取时间戳 select UNIX_TIMESTAMP("2022-07-06 14:11:49") select UNIX_TIMESTAMP(NOW()) select 阅读全文
posted @ 2022-07-07 16:42 程序员丁先生 阅读(10869) 评论(0) 推荐(1) 编辑
摘要: mongodb 初体验 阅读全文
posted @ 2022-07-06 18:07 程序员丁先生 阅读(55) 评论(0) 推荐(0) 编辑
摘要: rabbitmq初体验 rabbitmq入门 阅读全文
posted @ 2022-06-30 10:21 程序员丁先生 阅读(226) 评论(0) 推荐(0) 编辑