Set methods = (Set) io_methods_by_mime_.get(mime_type); if (methods == null)
List offers = (List) stores_by_mime_.get(mime_type); if (offers == null)
  public String[] getIOMethodsForMIME(String mime_type)      throws IllegalArgumentException  {    if (mime_type == null || mime_type.length() == 0)    {      throw new IllegalArgumentException();    }        Set methods = (Set) io_methods_by_mime_.get(mime_type);    if (methods == null)    {      return new String[0];    }        String[] result = new String[methods.size()];        return (String[]) methods.toArray(result);  }