首页 > 其他 > 详细

redis 实现

时间:2019-04-10 11:46:47      阅读:132      评论:0      收藏:0      [点我收藏+]
    /**
     *  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 实现

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!