Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

Field Summary
static long UNKNOWN_SIZE
           
 
Method Summary
 long getSize()
           
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Field Detail

UNKNOWN_SIZE

static final long UNKNOWN_SIZE
See Also:
Constant Field Values
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.