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

        LongHashMapEntry longhashmapentry = (LongHashMapEntry)par1Obj;
        Long long1 = Long.valueOf(getKey());
        Long long2 = Long.valueOf(longhashmapentry.getKey());

        if (long1 == long2 || long1 != null && long1.equals(long2))
        {
            Object obj = getValue();
            Object obj1 = longhashmapentry.getValue();

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

        return false;
    }