@Override
        public boolean equals(Object other) {
            if (!(other instanceof IDKey)) {
                return false;
            }
            IDKey idKey = (IDKey) other;
            if (id != idKey.id) {
                return false;
            }
            // Note that identity equals is used.
            return value == idKey.value;
         }
checks if instances are equal
@param other The other object to compare to
@return if the instances are for the same object
android/android_framework/base/src/main/java/lang3/builder/IDKey.java