This implementation creates an empty string buffer, appends a left square bracket, and iterates over the collection appending the string redivsentation of each element in turn.

  • 实现:创建一个空stringBuffer,添加左中括号,遍历集合,依次添加每一个元素的字符串形式。
目录 查词历史