DeepCopy implements interface for deep copy of current type.
()
| 282 | |
| 283 | // DeepCopy implements interface for deep copy of current type. |
| 284 | func (m *IntIntMap) DeepCopy() any { |
| 285 | m.lazyInit() |
| 286 | return &IntIntMap{ |
| 287 | KVMap: m.KVMap.DeepCopy().(*KVMap[int, int]), |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | // IsSubOf checks whether the current map is a sub-map of `other`. |
| 292 | func (m *IntIntMap) IsSubOf(other *IntIntMap) bool { |