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