|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.data.DatabaseObjectGroupCollection<C>
C - Collection type used.public final class DatabaseObjectGroupCollection<C extends Collection<Integer>>
Collection-backed group of database object (references)
| Field Summary | |
|---|---|
C |
ids
Storage for ids. |
| Constructor Summary | |
|---|---|
DatabaseObjectGroupCollection(C ids)
Constructor to wrap an existing collection. |
|
| Method Summary | |
|---|---|
C |
getIDs()
Retrieve the IDs as collection. |
Iterator<Integer> |
iterator()
Retrieve an iterator over the IDs. |
int |
size()
Return the backing collections size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public C extends Collection<Integer> ids
| Constructor Detail |
|---|
public DatabaseObjectGroupCollection(C ids)
ids - collection to use.| Method Detail |
|---|
public C getIDs()
getIDs in interface DatabaseObjectGrouppublic Iterator<Integer> iterator()
iterator in interface DatabaseObjectGroupiterator in interface Iterable<Integer>public int size()
size in interface DatabaseObjectGroup
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||