List of usage examples for java.util Iterator interface-usage
From source file org.xwiki.search.solr.internal.job.DocumentIterator.java
/**
* Iterates the documents from a store.
*
* @version $Id: f7249b9569656ed2393ab79eab99a5de1e47d96f $
* @param <T> the type of data used to determine if a document is up to date
* @since 5.4.5
From source file org.talend.dataquality.record.linkage.iterator.ResultSetIterator.java
/** * created by yyin on 2014-9-4 Detailled comment * */ public class ResultSetIterator implements Iterator<Record> {
From source file org.nuxeo.common.utils.ZipFileIterator.java
/**
* An iterator over the entries in a zip file.
* <p>
* The iterator support filtering using {@link ZipEntryFilter}
*
* @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
From source file com.ning.metrics.action.hdfs.data.RowFileContentsIterator.java
/** * File wrapper - turn a file into a Row iterator */ abstract class RowFileContentsIterator implements Iterator<Row>, Closeable { static final Logger log = LoggerFactory.getLogger(RowFileContentsIterator.class);
From source file ome.services.eventlogs.EventLogLoader.java
/**
* Data access object for the {@link FullTextIndexer} which provides an
* {@link Iterator} interface for {@link EventLog} instances to be properly
* indexed. Also supports the concept of batches. After {@link #batchSize}
* queries,
*
From source file com.zjy.mongo.util.BSONLoader.java
public class BSONLoader implements Iterable<BSONObject>, Iterator<BSONObject> { private static final Log LOG = LogFactory.getLog(BSONLoader.class); private final BSONDecoder decoder = new BasicBSONDecoder(); private final BSONCallback callback = new BasicBSONCallback();
From source file net.darkmist.alib.io.LineIterator.java
/** Wrapper around a stream to iterate through the stream one line at a time. * @deprecated Use {@link org.apache.commons.io.LineIterator} instead. */ @Deprecated public class LineIterator implements Iterator<String> {
From source file org.dkpro.tc.ml.svmhmm.util.CommentsIterator.java
public class CommentsIterator implements Iterator<List<String>> { private BufferedReader br = null; private String line = null; public CommentsIterator(File f) throws IOException { br = new BufferedReader(new InputStreamReader(new FileInputStream(f)));
From source file org.openvpms.archetype.rules.workflow.FreeSlotIterators.java
/**
* An iterator that wraps one or more {@link FreeSlotIterator}s, returning the minimum dated slot from each,
* on each call to {@link #next()}.
*
* @author Tim Anderson
*/
From source file org.nuxeo.common.utils.ZipIterator.java
/**
* An iterator over the entries in a ZIP file.
* <p>
* The iterator support filtering using {@link ZipEntryFilter}
*
* @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>