public boolean equals(Object object) {
        if (object instanceof MediaType) {
            MediaType that = (MediaType) object;
            return string.equals(that.string);
        } else {
            return false;
        }
    }
Returns an immutable sorted map of the parameters of this media type.
The parameter names are guaranteed to be trimmed and in lower case.

@return sorted map of parameters
tika-core/src/main/java/org/apache/tika/mime/MediaType.java