src/main/java/org/jivesoftware/smack/util/collections/AbstractHashedMap.java
protected boolean isEqualValue(Object value1, Object value2) {
        return (value1 == value2 || value1.equals(value2));
    }
protected boolean isEqualValue(Object value1, Object value2) {
        return (value1 == value2 || value1.equals(value2));
    }
Compares two values, in external form, to see if they are equal. This
implementation uses the equals method and assumes neither value is null.
Subclasses can override this to match differently.

@param value1
the first value to compare passed in from outside
@param value2
the second value extracted from the entry via
<code>getValue()</code>
@return true if equal