src/org/nutz/lang/Strings.java
public static int maxLength(Collection<? extends CharSequence> coll) {
        int re = 0;
        if (null != coll)
            for (CharSequence s : coll)
                if (null != s)
                    re = Math.max(re, s.length());
        return re;
    }
public static int maxLength(Collection<? extends CharSequence> coll) {
        int re = 0;
        if (null != coll)
            for (CharSequence s : coll)
                if (null != s)
                    re = Math.max(re, s.length());
        return re;
    }
public static int maxLength ( Collection < ? extends CharSequence > coll ) { int re = 0 ; if ( null != coll ) for ( CharSequence s : coll ) if ( null != s ) re = Math . max ( re , s . length ( ) ) ; return re ; }
获得一个字符串集合中，最长串的长度

@param coll
字符串集合
@return 最大长度
获得一个字符串集合中，最长串的长度