// 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 SimpleStringAppleMap) Foreach(f func(string, Apple)) {
	for k, v := range mm {
		f(k, v)
	}
}
func ( mm SimpleStringAppleMap ) Foreach ( f func ( string , Apple ) ) { for k , v := range mm { 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 .