public interface ArrayModifiableDBIDs extends ModifiableDBIDs, ArrayDBIDs
Modifier and Type | Method and Description |
---|---|
DBID |
remove(int i)
Remove the i'th entry (starting at 0)
|
DBID |
set(int i,
DBID newval)
Replace the i'th entry (starting at 0)
|
void |
sort()
Sort the DBID set.
|
void |
sort(Comparator<? super DBID> comparator)
Sort the DBID set.
|
add, addDBIDs, clear, remove, removeDBIDs
binarySearch, get, iter, size
void sort()
void sort(Comparator<? super DBID> comparator)
comparator
- Comparator to useDBID remove(int i)
i
- Index