
public class UnmodifiableDBIDs extends Object implements StaticDBIDs
| Constructor and Description |
|---|
UnmodifiableDBIDs(DBIDs inner)
Constructor.
|
| 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.
|
String |
toString()
Returns a string representation of the inner DBID collection.
|
private final DBIDs inner
public UnmodifiableDBIDs(DBIDs inner)
inner - Inner DBID collection.public boolean contains(DBID o)
DBIDspublic boolean isEmpty()
DBIDspublic Iterator<DBID> iterator()
DBIDspublic DBIDIter iter()
DBIDspublic int size()
DBIDs