|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 DBIDs
public boolean contains(Object o)
DBIDs
Collection
.
contains
in interface DBIDs
o
- object to test
public boolean isEmpty()
DBIDs
isEmpty
in interface DBIDs
public Iterator<DBID> iterator()
DBIDs
iterator
in interface DBIDs
iterator
in interface Iterable<DBID>
public int size()
DBIDs
size
in interface DBIDs
public String toString()
toString
in class Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |