Returns a Collector
which behaves like this collector, but cuts
the resulting string after the delimiter when limit is reached.
Returns a Collector
which behaves like this collector, but cuts
the resulting string at any point when limit is reached.
Returns a Collector
which behaves like this collector, but cuts
the resulting string between any code points when limit is reached.
Returns a Collector
which behaves like this collector, but cuts
the resulting string at grapheme cluster boundary when limit is reached.
Returns a Collector
which behaves like this collector, but cuts
the resulting string at word boundary when limit is reached.
Returns a Collector
which behaves like this collector, but cuts
the resulting string before the delimiter when limit is reached.
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.
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).
Returns a Collector
which behaves like this collector, but sets
the maximal number of Unicode code points of the resulting string.
Returns a Collector
which behaves like this collector, but sets
the maximal number of elements to join.
Returns a Collector
which behaves like this collector, but sets
the maximal number of grapheme clusters.
Returns a Collector
that concatenates the input elements,
separated by the specified delimiter, in encounter order.
Joining.withLimit(int lenStrategy,
int maxLength)
Returns a Collector
which behaves like this collector, but
additionally wraps the result with the specified prefix and suffix.