@Override
    public int hashCode() {
        return fConfidence;
    }
generates a hashCode based on the confidence value

@return the hashCode
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/src/main/java/org/apache/tika/parser/txt/CharsetMatch.java