StringBuffer和StringBuilder « 开发相关 « Java 教程

En
Java 教程
1. 语言基础
2. 数据类型
3. 操作符
4. 流程控制
5. 类定义
6. 开发相关
7. 反射
8. 正则表达式
9. 集合
10. 线
11. 文件
12. 泛型
13. 本土化
14. Swing
15. Swing事件
16. 二维图形
17. SWT
18. SWT 二维图形
19. 网络
20. 数据库
21. Hibernate
22. JPA
23. JSP
24. JSTL
25. Servlet
26. Web服务SOA
27. EJB3
28. Spring
29. PDF
30. 电子邮件
31. 基于J2ME
32. J2EE应用
33. XML
34. 设计模式
35. 日志
36. 安全
37. Apache工具
38. 蚂蚁编译
39. JUnit单元测试
Java
Java 教程 » 开发相关 » StringBuffer和StringBuilder 
6. 15. StringBuffer和StringBuilder
6. 15. 1. StringBuffer and StringBuilder
6. 15. 2. You can also create a StringBuffer object using a reference stored in a variable of type String:
6. 15. 3. 从StringBuffer对象创建一个String对象
6. 15. 4. Creating a StringBuffer object with a specific value for the capacity
6. 15. 5. StringBuilder对象的容量
6. 15. 6. 添加字符串到StringBuffer对象
6. 15. 7. The append() method returns a reference to the extended StringBuffer object
6. 15. 8. 追加( )建造一个StringBuffer对象
6. 15. 9. Appending a Substring: append part of the aString object to the buf object
6. 15. 10. 附加基本类型:整数双精度
6. 15. 11. 添加一个子数组
6. 15. 12. StringBuffer methods charAt, setCharAt, getChars and reverse
6. 15. 13. StringBuffer方法插入,删除和deleteCharAt
6. 15. 14. 转换数字字符与Character.forDigit
6. 15. 15. 插入字符串
6. 15. 16. StringBuffer对象的长度
6. 15. 17. 改变StringBufer长度
6. 15. 18. 找出StringBuffer对象的容量
6. 15. 19. The ensureCapacity() method changes the default capacity of a StringBuffer object
6. 15. 20. 查找子字符串
6. 15. 21. Specifying the index position in the buffer where the search is to start
6. 15. 22. 替代串缓冲区
6. 15. 23. Extracting Characters From a Mutable String: charAt() and getChars() methods
6. 15. 24. 在StringBuffer对象改变单一的字符
6. 15. 25. Using the deleteCharAt() method to remove a character from a StringBuffer object at the index position
6. 15. 26. 从一个StringBuffer对象删除几个字符
6. 15. 27. 由StringBuilder删除子字符串
6. 15. 28. StringBuilder对象删除文字
6. 15. 29. Reversing the sequence of characters in a StringBuffer object with the reverse() method
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.