public interface HashSetModifiableDBIDs extends HashSetDBIDs, ModifiableDBIDs
Modifier and Type | Method and Description |
---|---|
DBIDMIter |
iter()
Get a DBID iterator (a more efficient API).
|
boolean |
retainAll(DBIDs set)
Retain all elements that also are in the second set.
|
add, addDBIDs, clear, remove, removeDBIDs
boolean retainAll(DBIDs set)
set
- second setDBIDMIter iter()
DBIDs
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
iter
in interface DBIDs
iter
in interface ModifiableDBIDs