Key is the index key; it may return -1 if in a split state
()
| 244 | |
| 245 | // Key is the index key; it may return -1 if in a split state |
| 246 | func (si SliceIndex) Key() int { |
| 247 | if si.xkey != si.ykey { |
| 248 | return -1 |
| 249 | } |
| 250 | return si.xkey |
| 251 | } |
| 252 | |
| 253 | // SplitKeys are the indexes for indexing into slices in the |
| 254 | // x and y values, respectively. These indexes may differ due to the |
nothing calls this directly
no outgoing calls
no test coverage detected