func (mm *ImmutableStringAppleMap) Foreach(f func(string, Apple)) {
	if mm != nil {
		for k, v := range mm.m {
			f(k, v)
		}
	}
}
// Foreach applies the function f to every element in the map.
// The function can safely alter the values via side-effects.
Foreach applies the function f to every element in the map.
The function can safely alter the values via side-effects.
// Foreach applies the function f to every element in the map . // The function can safely alter the values via side - effects .
func (mm *ImmutableStringAppleMap) Foreach(f func(string, Apple)) {
	if mm != nil {
		for k, v := range mm.m {
			f(k, v)
		}
	}
}
func ( mm * ImmutableStringAppleMap ) Foreach ( f func ( string , Apple ) ) { if mm != nil { for k , v := range mm . m { f ( k , v ) } } }
Foreach applies the function f to every element in the map.
Foreach applies the function f to every element in the map .