|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBIDRange
Static DBID range.
Method Summary | |
---|---|
int |
getOffset(DBID dbid)
Get offset in the array for a particular DBID. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from interface de.lmu.ifi.dbs.elki.database.ids.DBIDs |
---|
asCollection, contains, isEmpty, iterator, size |
Method Detail |
---|
int getOffset(DBID dbid)
range.get(getOffset(id)) == id
and
range.getOffset(range.get(idx)) == idx
.
dbid
- ID to compute index for
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |