public static String strMapToStr ( Map < String , String > map ) { StringBuilder sb = new StringBuilder ( ) ; if ( map == null || map . isEmpty ( ) ) return sb . toString ( ) ; for ( Entry < String , String > entry : map . entrySet ( ) ) { sb . append ( "< " + entry . getKey ( ) + ", " + entry . getValue ( ) + "> " ) ; } return sb . toString ( ) ; }
Str map to str .