func (mm *FastIntIntMap) Equals(other *FastIntIntMap) bool {
	if mm == nil || other == nil {
		return mm.IsEmpty() && other.IsEmpty()
	}

	if mm.Size() != other.Size() {
		return false
	}
	for k, v1 := range mm.m {
		v2, found := other.m[k]
		if !found || v1 != v2 {
			return false
		}
	}
	return true
}
// Equals determines if two maps are equal to each other.
// If they both are the same size and have the same items they are considered equal.
// Order of items is not relevent for maps to be equal.
Equals determines if two maps are equal to each other.
If they both are the same size and have the same items they are considered equal.
Order of items is not relevent for maps to be equal.
// Equals determines if two maps are equal to each other . // If they both are the same size and have the same items they are considered equal . // Order of items is not relevent for maps to be equal .
func (mm *FastIntIntMap) Equals(other *FastIntIntMap) bool {
	if mm == nil || other == nil {
		return mm.IsEmpty() && other.IsEmpty()
	}
	if mm.Size() != other.Size() {
		return false
	}
	for k, v1 := range mm.m {
		v2, found := other.m[k]
		if !found || v1 != v2 {
			return false
		}
	}
	return true
}
func ( mm * FastIntIntMap ) Equals ( other * FastIntIntMap ) bool { if mm == nil || other == nil { return mm . IsEmpty ( ) && other . IsEmpty ( ) } if mm . Size ( ) != other . Size ( ) { return false } for k , v1 := range mm . m { v2 , found := other . m [ k ] if ! found || v1 != v2 { return false } } return true }
Equals determines if two maps are equal to each other.
Equals determines if two maps are equal to each other .