override fun equals(other: Any?): Boolean { return if (_map.equals(other)) { true } else if (other is Map<*, *>) { val that = other if (that.size != _map.size()) { false } else { val it: Iterator<*> = that.entries.iterator() var i = that.size while (i-- > 0) { val (key1, value) = it.next() as Map.Entry<*, *> val key = key1!! val `val` = value!! if (key is Float) { val k: Float = unwrapKey(key) val v: Any = unwrapValue(`val` as V) if (_map.containsKey(k) && v === _map.get(k)) { } else { return false } } else { return false } } true } } else { false } }
Compares this map with another map for equality of their stored entries .