Package org.nuxeo.ecm.core.api
Interface DocumentModelIterator
- All Superinterfaces:
Iterable<DocumentModel>
,Iterator<DocumentModel>
- All Known Implementing Classes:
DocumentModelChildrenIterator
A serializable iterator of document models. Long result sets are loaded frame by frame transparently by the
DocumentModelIterator.
- Author:
- Bogdan Stefanescu, Dragos Mihalache
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
size()
This might return a real elements count if the implementation allow this.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Field Details
-
UNKNOWN_SIZE
static final int UNKNOWN_SIZE- See Also:
-
-
Method Details
-
size
long size()This might return a real elements count if the implementation allow this.- Returns:
- the number of elements or -1 (by convention) if it is unknown
-