Choose where to go according to the value a
(self, a)
| 202 | return self.values[self.values.index(a)] |
| 203 | |
| 204 | def chooseChild(self, a): |
| 205 | """ Choose where to go according to the value a """ |
| 206 | idx = self.__getlink(a) |
| 207 | if 0 <= idx < self.refcnt: |
| 208 | return self.links[idx] |
| 209 | |
| 210 | def getItem(self, a): |
| 211 | if self.contains(a): |
no test coverage detected