
public interface DBIDRange extends ArrayStaticDBIDs, DataStoreIDMap
| Modifier and Type | Method and Description |
|---|---|
int |
getOffset(DBIDRef dbid)
Get offset in the array for a particular DBID.
|
assign, binarySearch, get, iter, sizemapDBIDToOffsetint getOffset(DBIDRef dbid)
range.get(getOffset(id)) == id and
range.getOffset(range.get(idx)) == idx.dbid - ID to compute index for