|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.database.ids.generic.UnmodifiableDBIDs
public class UnmodifiableDBIDs

Unmodifiable wrapper for DBIDs.
| Field Summary | |
|---|---|
private DBIDs |
inner
The DBIDs we wrap. |
| Constructor Summary | |
|---|---|
UnmodifiableDBIDs(DBIDs inner)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final DBIDs inner
| Constructor Detail |
|---|
public UnmodifiableDBIDs(DBIDs inner)
inner - Inner DBID collection.| Method Detail |
|---|
public Collection<DBID> asCollection()
DBIDs
asCollection in interface DBIDspublic boolean contains(Object o)
DBIDsCollection.
contains in interface DBIDso - object to test
public boolean isEmpty()
DBIDs
isEmpty in interface DBIDspublic Iterator<DBID> iterator()
DBIDs
iterator in interface DBIDsiterator in interface Iterable<DBID>public int size()
DBIDs
size in interface DBIDspublic String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||