Joining |
Joining.cutAfterDelimiter() |
Returns a Collector which behaves like this collector, but cuts
the resulting string after the delimiter when limit is reached.
|
Joining |
Joining.cutAnywhere() |
Returns a Collector which behaves like this collector, but cuts
the resulting string at any point when limit is reached.
|
Joining |
Joining.cutAtCodePoint() |
Returns a Collector which behaves like this collector, but cuts
the resulting string between any code points when limit is reached.
|
Joining |
Joining.cutAtGrapheme() |
Returns a Collector which behaves like this collector, but cuts
the resulting string at grapheme cluster boundary when limit is reached.
|
Joining |
Joining.cutAtWord() |
Returns a Collector which behaves like this collector, but cuts
the resulting string at word boundary when limit is reached.
|
Joining |
Joining.cutBeforeDelimiter() |
Returns a Collector which behaves like this collector, but cuts
the resulting string before the delimiter when limit is reached.
|
Joining |
Joining.ellipsis(CharSequence ellipsis) |
Returns a Collector which behaves like this collector, but uses
the specified ellipsis CharSequence instead of default
"..." when the string limit (if specified) is reached.
|
Joining |
Joining.maxChars(int limit) |
Returns a Collector which behaves like this collector, but sets
the maximal length of the resulting string to the specified number of
UTF-16 characters (or Unicode code units).
|
Joining |
Joining.maxCodePoints(int limit) |
Returns a Collector which behaves like this collector, but sets
the maximal number of Unicode code points of the resulting string.
|
Joining |
Joining.maxElements(int limit) |
Returns a Collector which behaves like this collector, but sets
the maximal number of elements to join.
|
Joining |
Joining.maxGraphemes(int limit) |
Returns a Collector which behaves like this collector, but sets
the maximal number of grapheme clusters.
|
static Joining |
Joining.with(CharSequence delimiter) |
Returns a Collector that concatenates the input elements,
separated by the specified delimiter, in encounter order.
|
Joining |
Joining.wrap(CharSequence prefix,
CharSequence suffix) |
Returns a Collector which behaves like this collector, but
additionally wraps the result with the specified prefix and suffix.
|