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.
|
contains, forEach, isEmpty, size
add, addDBIDs, clear, pop, remove, removeDBIDs
boolean retainAll(DBIDs set)
set
- second setDBIDMIter iter()
DBIDs
Example:
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
iter
in interface DBIDs
iter
in interface ModifiableDBIDs
Copyright © 2019 ELKI Development Team. License information.