码迷,mamicode.com
首页 > 其他好文 > 详细

redis 实现

时间:2019-04-10 11:54:28      阅读:117      评论:0      收藏:0      [点我收藏+]

标签:static   code   using   nta   div   实现   repr   集合   between   

    /**
     *  Returns a string containing the string representation of each of {@code parts}, using the
     *  previously configured separator between each.
     * @param iterables 可遍历集合
     * @param separator 分隔符
     * @return
     */
    public static String convertToString(Iterable<?> iterables, String separator) {
        if(iterables == null) {
            return StringUtils.EMPTY;
        }
        return Joiner.on(separator).skipNulls().join(iterables);
    }

 

redis 实现

标签:static   code   using   nta   div   实现   repr   集合   between   

原文地址:https://www.cnblogs.com/dand/p/10682430.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!