类 RecursiveCollectionLineAggregator<T>

    • 方法详细资料

      • setDelegate

        public void setDelegate​(LineAggregator<T> delegate)
        Public setter for the LineAggregator to use on single items, that are not Strings. This can be used to strategise the conversion of collection and array elements to a String.
        参数:
        delegate - the line aggregator to set. Defaults to a pass through.
      • aggregate

        public java.lang.String aggregate​(java.util.Collection<T> items)
        从接口复制的说明: LineAggregator
        Create a string from the value provided.
        指定者:
        aggregate 在接口中 LineAggregator<T>
        参数:
        items - values to be converted
        返回:
        string