public static class DatabaseUtil.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 |
---|
DatabaseUtil.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
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>