java源代码分析
文章平均质量分 51
可乐小哥
这个作者很懒,什么都没留下…
展开
-
java中关于String的split方法的作用及源代码分析
String的split源代码分析 public String[] split(String regex, int limit) { /* fastpath if the regex is a (1)one-char String and this character is not one of the RegEx's meta cha...原创 2018-09-05 16:56:10 · 952 阅读 · 0 评论 -
关于String的源代码分析
String: String是一个封装了char[]数组以实现字符串功能的类, 其中包括:length(),isEmpty(),charAt(int index),, //value为封装的char[]数组 字符串长度: int length(): //通过value.length计算长度后返回 字符串非空: boolean isEmpt...原创 2018-09-05 17:00:54 · 299 阅读 · 0 评论