字符串优化处理
摘要:字符串优化处理 一)、字符串的内部结构 1)、char数组 表示String的内容,所有字符串的超集。 2)、offset偏移 3)、count长度 注:String的真实内容由offset和count进行定位和截取。 二)、字符串的特性 1)、不变性 当一个对象被多线程共享,并且频繁使用时 ,可以
阅读全文
posted @ 2019-10-10 10:44
posted @ 2019-10-10 10:44
posted @ 2019-10-09 14:01
posted @ 2019-09-19 19:34
posted @ 2019-09-17 20:01
posted @ 2019-09-17 15:23