code: @Override
      public void clear()
      {
          fireEvent(EVENT_CLEAR, null, null, true);
          map.clear();
          fireEvent(EVENT_CLEAR, null, null, false);
      }
docs: Clear the map and fire corresonding events.