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)
DBIDs
public boolean isEmpty()
DBIDs
public Iterator<DBID> iterator()
DBIDs
public DBIDIter iter()
DBIDs
public int size()
DBIDs