|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.data.DatabaseObjectGroupArray
public final class DatabaseObjectGroupArray
Array backed DatabaseObjectGroup. Stores a list of DatabaseObjectIDs using an array of Integer[].
| Field Summary | |
|---|---|
Integer[] |
ids
ID storage. |
| Constructor Summary | |
|---|---|
DatabaseObjectGroupArray(Integer[] ids)
Constructor. |
|
| Method Summary | |
|---|---|
Collection<Integer> |
getIDs()
Retrieve the IDs as collection. |
Iterator<Integer> |
iterator()
Return an iterator over the array. |
int |
size()
Return the backing array length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Integer[] ids
| Constructor Detail |
|---|
public DatabaseObjectGroupArray(Integer[] ids)
ids - Array of IDs| Method Detail |
|---|
public Collection<Integer> 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 | |||||||||||