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