public interface DBIDs extends Iterable<DBID>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(DBID o)
Test whether an ID is contained.
|
boolean |
isEmpty()
Test for an empty DBID collection.
|
DBIDIter |
iter()
Get a DBIDIterator (a more efficient API).
|
Iterator<DBID> |
iterator()
Retrieve Iterator access to the IDs.
|
int |
size()
Retrieve the collection / data size.
|
DBIDIter iter()
int size()
boolean contains(DBID o)
o
- object to testboolean isEmpty()