org.nuxeo.ecm.core.model
Interface DocumentIterator
- All Superinterfaces:
- Iterator<Document>
- All Known Implementing Classes:
- EmptyDocumentIterator
public interface DocumentIterator
- extends Iterator<Document>
Provides additional methods to allow clients to get meta info like the
total number of items.
- Author:
- Dragos Mihalache
UNKNOWN_SIZE
static final long UNKNOWN_SIZE
- See Also:
- Constant Field Values
getSize
long getSize()
- Returns:
- size of the iterator. (i.e. total number of items in the
iterator). If the size cannot be provided this will return
UNKNOWN_SIZE
Copyright © 2011 Nuxeo SAS. All Rights Reserved.