indexOf method
Visible position of key, or kNotVisible if key is not in the
order (or not registered). O(1).
Implementation
int indexOf(TKey key) {
final nid = _nids[key];
return nid == null ? kNotVisible : _indexByNid[nid];
}
Visible position of key, or kNotVisible if key is not in the
order (or not registered). O(1).
int indexOf(TKey key) {
final nid = _nids[key];
return nid == null ? kNotVisible : _indexByNid[nid];
}