public static class RelationUtil.CollectionFromRelation<O> extends AbstractCollection<O> implements Collection<O>
Modifier and Type | Field and Description |
---|---|
(package private) Relation<? extends O> |
db
The database we query.
|
Constructor and Description |
---|
CollectionFromRelation(Relation<? extends O> db)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<O> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
public Iterator<O> iterator()
iterator
in interface Iterable<O>
iterator
in interface Collection<O>
iterator
in class AbstractCollection<O>
public int size()
size
in interface Collection<O>
size
in class AbstractCollection<O>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.