func (mm *FastIntIntMap) Find(p func(int, int) bool) (FastIntIntTuple, bool) {
	if mm == nil {
		return FastIntIntTuple{}, false
	}

	for k, v := range mm.m {
		if p(k, v) {
			return FastIntIntTuple{(k), v}, true
		}
	}

	return FastIntIntTuple{}, false
}
// Find returns the first int that returns true for the predicate p.
// False is returned if none match.
// The original map is not modified.
Find returns the first int that returns true for the predicate p.
False is returned if none match.
The original map is not modified.
// Find returns the first int that returns true for the predicate p . // False is returned if none match . // The original map is not modified .
func (mm *FastIntIntMap) Find(p func(int, int) bool) (FastIntIntTuple, bool) {
	if mm == nil {
		return FastIntIntTuple{}, false
	}
	for k, v := range mm.m {
		if p(k, v) {
			return FastIntIntTuple{(k), v}, true
		}
	}
	return FastIntIntTuple{}, false
}
func ( mm * FastIntIntMap ) Find ( p func ( int , int ) bool ) ( FastIntIntTuple , bool ) { if mm == nil { return FastIntIntTuple { } , false } for k , v := range mm . m { if p ( k , v ) { return FastIntIntTuple { ( k ) , v } , true } } return FastIntIntTuple { } , false }
Find returns the first int that returns true for the predicate p.
False is returned if none match.
Find returns the first int that returns true for the predicate p . False is returned if none match .