
public class UnmodifiableDBIDs extends Object implements StaticDBIDs
| Constructor and Description |
|---|
UnmodifiableDBIDs(DBIDs inner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<DBID> |
asCollection()
Retrieve collection access to the IDs
|
boolean |
contains(Object o)
Test whether an ID is contained.
|
boolean |
isEmpty()
Test for an empty DBID collection.
|
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 Collection<DBID> asCollection()
DBIDsasCollection in interface DBIDspublic boolean contains(Object o)
DBIDsCollection.public boolean isEmpty()
DBIDspublic Iterator<DBID> iterator()
DBIDspublic int size()
DBIDs