
public interface ModifiableDBIDs extends DBIDs
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(DBIDRef id)
Add a single DBID to the collection.
|
boolean |
addDBIDs(DBIDs ids)
Add DBIDs to collection.
|
void |
clear()
Clear this collection.
|
DBIDMIter |
iter()
Get a modifiable DBID iterator (a more efficient API).
|
boolean |
remove(DBIDRef id)
Remove a single DBID from the collection.
|
boolean |
removeDBIDs(DBIDs ids)
Remove DBIDs from collection.
|
boolean addDBIDs(DBIDs ids)
ids - IDs to add.true when modifiedboolean removeDBIDs(DBIDs ids)
ids - IDs to remove.true when modifiedboolean add(DBIDRef id)
id - ID to addboolean remove(DBIDRef id)
id - ID to removevoid clear()