|
|
|||||||||
| 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.MergedDBIDs
public class MergedDBIDs

Merge the IDs of multiple layers into one.
| Field Summary | |
|---|---|
(package private) DBIDs[] |
childs
Childs to merge |
| Constructor Summary | |
|---|---|
MergedDBIDs(DBIDs... childs)
Constructor. |
|
| Method Summary | ||
|---|---|---|
boolean |
add(DBID e)
|
|
boolean |
addAll(Collection<? extends DBID> c)
|
|
Collection<DBID> |
asCollection()
Retrieve collection access to the IDs |
|
void |
clear()
|
|
boolean |
contains(Object o)
Test whether an ID is contained. |
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
isEmpty()
Test for an empty DBID collection. |
|
Iterator<DBID> |
iterator()
Retrieve Iterator access to the IDs. |
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
int |
size()
Retrieve the collection / data size. |
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Field Detail |
|---|
DBIDs[] childs
| Constructor Detail |
|---|
public MergedDBIDs(DBIDs... childs)
childs - | Method Detail |
|---|
public Collection<DBID> asCollection()
DBIDs
asCollection in interface DBIDspublic Iterator<DBID> iterator()
DBIDs
iterator in interface DBIDsiterator in interface Iterable<DBID>iterator in interface Collection<DBID>public int size()
DBIDs
size in interface DBIDssize in interface Collection<DBID>public boolean isEmpty()
DBIDs
isEmpty in interface DBIDsisEmpty in interface Collection<DBID>public Object[] toArray()
toArray in interface Collection<DBID>public <T> T[] toArray(T[] a)
toArray in interface Collection<DBID>public boolean contains(Object o)
DBIDsCollection.
contains in interface DBIDscontains in interface Collection<DBID>o - object to test
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<DBID>public void clear()
clear in interface Collection<DBID>public boolean add(DBID e)
add in interface Collection<DBID>public boolean addAll(Collection<? extends DBID> c)
addAll in interface Collection<DBID>public boolean remove(Object o)
remove in interface Collection<DBID>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<DBID>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<DBID>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||