(key string)
| 48 | } |
| 49 | |
| 50 | func (this *IdKeyMap) DeleteKey(key string) { |
| 51 | id, ok := this.keyIds[key] |
| 52 | if ok { |
| 53 | delete(this.idKeys, id) |
| 54 | } |
| 55 | delete(this.keyIds, key) |
| 56 | } |
| 57 | |
| 58 | func (this *IdKeyMap) Len() int { |
| 59 | return len(this.idKeys) |
no outgoing calls