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()
DBIDs
asCollection
in interface DBIDs
public boolean contains(Object o)
DBIDs
Collection
.public boolean isEmpty()
DBIDs
public Iterator<DBID> iterator()
DBIDs
public int size()
DBIDs