Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
None
-
None
-
Operating System: All
Platform: All
-
35406
Description
StrBuilder needs various enhancements:
- All methods taking in a String should have a parallel method taking a
StringBuffer and a StrBuilder
- rename method: delete(char) to deleteAll(char)
- add method: deleteFirst(char)
- rename method: delete(String) to deleteAll(String)
- add method: deleteFirst(String)
- rename method: replace(char, char) to replaceAll(char, char)
- add method: replaceFirst(char, char)
- rename method: replace(String, String) to replaceAll(String, String)
- add method: replaceFirst(String, String)
- equals() / hashCode()
- equalsIgnoreCase()
plus, in theory other methods from StringUtils. But the ones listed above are
the key ones.