org.nuxeo.ecm.core.model
Class EmptyDocumentIterator
java.lang.Object
org.nuxeo.ecm.core.model.EmptyDocumentIterator
- All Implemented Interfaces:
- Iterator<Document>, DocumentIterator
public class EmptyDocumentIterator
- extends Object
- implements DocumentIterator
- Author:
- Bogdan Stefanescu
INSTANCE
public static final EmptyDocumentIterator INSTANCE
EmptyDocumentIterator
public EmptyDocumentIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Document>
next
public Document next()
- Specified by:
next
in interface Iterator<Document>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Document>
getSize
public long getSize()
- Specified by:
getSize
in interface DocumentIterator
- 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.