(self, key)
| 54 | return len(self.elem_to_id) |
| 55 | |
| 56 | def __getitem__(self, key): |
| 57 | # type: (int) -> Union[T, IndexedSet.Sentinel] |
| 58 | if isinstance(key, slice): |
| 59 | raise TypeError('Slices not supported.') |
| 60 | return self.id_to_elem[key] |
| 61 | |
| 62 | def index(self, value): |
| 63 | # type: (T) -> int |
nothing calls this directly
no outgoing calls
no test coverage detected