code: public static String toMapString(Map self, int maxSize) {
          return (self == null) ? "null" : InvokerHelper.toMapString(self, maxSize);
      }
docs: Returns the string representation of this map.  The string displays the
  contents of the map, i.e. <code>[one:1, two:2, three:3]</code>.
  
  @param self a Map
  @param maxSize stop after approximately this many characters and append '...'
  @return the string representation
  @since 1.0