Uses of Class
one.util.streamex.Joining

  • Uses of Joining in one.util.streamex

    Methods in one.util.streamex that return Joining
    Modifier and Type
    Method
    Description
    Returns a Collector which behaves like this collector, but cuts the resulting string after the delimiter when limit is reached.
    Joining.cutAnywhere()
    Returns a Collector which behaves like this collector, but cuts the resulting string at any point when limit is reached.
    Joining.cutAtCodePoint()
    Returns a Collector which behaves like this collector, but cuts the resulting string between any code points when limit is reached.
    Joining.cutAtGrapheme()
    Returns a Collector which behaves like this collector, but cuts the resulting string at grapheme cluster boundary when limit is reached.
    Joining.cutAtWord()
    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.
    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.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.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.maxElements(int limit)
    Returns a Collector which behaves like this collector, but sets the maximal number of elements to join.
    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.
    private Joining
    Joining.withCut(int cutStrategy)
     
    private Joining
    Joining.withLimit(int lenStrategy, int maxLength)
     
    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.