StringBuffer的append讲义
摘要:先贴源码 public synchronized StringBuffer append(String str) { toStringCache = null; super.append(str); return this; } 进入AbstractStringBuilder的append,源码如下
阅读全文
posted @
2023-02-06 10:49
程序员丁先生
阅读(46)
推荐(0)
打印内存地址
摘要:Integer.toHexString(System.identityHashCode(a))
阅读全文
posted @
2023-02-03 16:43
程序员丁先生
阅读(23)
推荐(0)
springboot+webSocket
摘要:1、新建WebSocketConfig配置类 package com.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configura
阅读全文
posted @
2023-02-01 16:03
程序员丁先生
阅读(199)
推荐(0)