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, pop, 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
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.