public final boolean equals(Object par1Obj)
    {
        if (!(par1Obj instanceof IntHashMapEntry))
        {
            return false;
        }

        IntHashMapEntry inthashmapentry = (IntHashMapEntry)par1Obj;
        Integer integer = Integer.valueOf(getHash());
        Integer integer1 = Integer.valueOf(inthashmapentry.getHash());

        if (integer == integer1 || integer != null && integer.equals(integer1))
        {
            Object obj = getValue();
            Object obj1 = inthashmapentry.getValue();

            if (obj == obj1 || obj != null && obj.equals(obj1))
            {
                return true;
            }
        }

        return false;
    }