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();
}

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 .
