public interface Joinable
| Modifier and Type | Method and Description |
|---|---|
String |
join()
Returns a new string by joining together the string representation of
each of its elements.
|
String |
join(String delimiter)
Returns a new string by joining together the string representation of
each of its elements separated by the specified
delimiter. |
String |
join(String delimiter,
String prefix,
String suffix)
Returns a new string by joining together the string representations of
each of its elements separated by the specified
delimiter and with
the specified prefix and suffix. |
String join()
String join(String delimiter)
delimiter.delimiter - the separator to use between each element's string representationdelimiterString join(String delimiter, String prefix, String suffix)
delimiter and with
the specified prefix and suffix.delimiter - the separator to use between each element's string representationprefix - the value to be used as the first part of the result stringsuffix - the value to be used as the last part of the result stringdelimiter and with the specified
prefix and suffix.Copyright © 2021–2022 Objectos Software LTDA. All rights reserved.