@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MimeType)) { return false; } final MimeType type = (MimeType) o; return MiscUtil.equals(Name, type.Name) && MiscUtil.mapsEquals(myParameters, type.myParameters); }
public boolean weakEquals(MimeType type) { return MiscUtil.equals(Name, type.Name); }