软件包 | 描述 |
---|---|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
Modifier and Type | Method and Description |
---|---|
StringJoiner |
StringJoiner.add(CharSequence newElement)
增加了一份给
CharSequence 值的
StringJoiner 价值的下一个元素。
|
StringJoiner |
StringJoiner.merge(StringJoiner other)
在给定的
StringJoiner 没有前缀和后缀的内容作为下一个元素如果是非空。
|
StringJoiner |
StringJoiner.setEmptyValue(CharSequence emptyValue)
机组可用于确定本
StringJoiner 字符串表示没有元素时,字符序列已被添加,即,当它是空的。
|
Modifier and Type | Method and Description |
---|---|
StringJoiner |
StringJoiner.merge(StringJoiner other)
在给定的
StringJoiner 没有前缀和后缀的内容作为下一个元素如果是非空。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.