private String getMapResultString(Map result) {
        StringBuilder sb = new StringBuilder();
        Iterator<Entry> i = result.entrySet().iterator();
        if (!i.hasNext()) {
            return "{}";
        }
        sb.append('{');
        for (;;) {
            Entry e = i.next();
            Object key = e.getKey();
            Object value = e.getValue();
            // 注意: 修改为getResultString(e)进行递归处理
            sb.append(key == this ? "(this Map)" : getResultString(key));
            sb.append('=');
            // 注意: 修改为getResultString(e)进行递归处理
            sb.append(value == this ? "(this Map)" : getResultString(value));
            if (!i.hasNext()) {
                return sb.append('}').toString();
            }
            sb.append(", ");
        }
    }
private String getMapResultString ( Map result ) { StringBuilder sb = new StringBuilder ( ) ; Iterator < Entry > i = result . entrySet ( ) . iterator ( ) ; if ( ! i . hasNext ( ) ) { return "{}" ; } sb . append ( '{' ) ; for ( ; ; ) { Entry e = i . next ( ) ; Object key = e . getKey ( ) ; Object value = e . getValue ( ) ; sb . append ( key == this ? "(this Map)" : getResultString ( key ) ) ; sb . append ( '=' ) ; sb . append ( value == this ? "(this Map)" : getResultString ( value ) ) ; if ( ! i . hasNext ( ) ) { return sb . append ( '}' ) . toString ( ) ; } sb . append ( ", " ) ; } }
取得map的string，自定义的主要目的：针对value中数组数据的toString处理, copy from {@link AbstractMap}

@param result
@return