func (mm *StringAppleMap) Pop(k string) (Apple, bool) {
	if mm == nil {
		return *(new(Apple)), false
	}

	mm.s.Lock()
	defer mm.s.Unlock()

	v, found := mm.m[k]
	delete(mm.m, k)
	return v, found
}
// Pop removes a single item from the map, returning the value present prior to removal.
// The boolean result is true only if the key had been present.
Pop removes a single item from the map, returning the value present prior to removal.
The boolean result is true only if the key had been present.
// Pop removes a single item from the map returning the value present prior to removal . // The boolean result is true only if the key had been present .
func (mm *StringAppleMap) Pop(k string) (Apple, bool) {
	if mm == nil {
		return *(new(Apple)), false
	}
	mm.s.Lock()
	defer mm.s.Unlock()
	v, found := mm.m[k]
	delete(mm.m, k)
	return v, found
}
func ( mm * StringAppleMap ) Pop ( k string ) ( Apple , bool ) { if mm == nil { return * ( new ( Apple ) ) , false } mm . s . Lock ( ) defer mm . s . Unlock ( ) v , found := mm . m [ k ] delete ( mm . m , k ) return v , found }
Pop removes a single item from the map, returning the value present prior to removal.
Pop removes a single item from the map returning the value present prior to removal .