public interface IntegerArrayDBIDs extends IntegerDBIDs, ArrayDBIDs
Modifier and Type | Method and Description |
---|---|
IntegerDBIDArrayIter |
iter()
Get a DBID iterator (a more efficient API).
|
IntegerArrayDBIDs |
slice(int begin,
int end)
Slice a subarray (as view, not copy!)
|
assignVar, binarySearch, get, size
IntegerDBIDArrayIter iter()
DBIDs
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
iter
in interface ArrayDBIDs
iter
in interface DBIDs
iter
in interface IntegerDBIDs
IntegerArrayDBIDs slice(int begin, int end)
ArrayDBIDs
slice
in interface ArrayDBIDs
begin
- Begin (inclusive)end
- End (exclusive)