List of usage examples for java.util Iterator interface-usage
From source file org.apache.metron.dataloads.interfaces.ThreatIntelSource.java
public interface ThreatIntelSource extends Iterator<JSONObject> { void initializeSource(Configuration config); void cleanupSource(); }
From source file org.latticesoft.util.common.FileIterator.java
public class FileIterator implements Iterator { private static final Log log = LogFactory.getLog(FileIterator.class); private File file = null; private InputStream is = null; private InputStreamReader isr = null;
From source file de.joinout.criztovyl.tools.json.iterator.JSONArrayIterator.java
/**
* A abstract class for iterating over {@link JSONArray}s.<br>
* You only have to define wich JSONArray#get you want to use.<br>
* Array is available via {@link #getArray()} and index via {@link #index()}.<br>
* As example with strings #next() would be:<br>
*
From source file org.duracloud.chunk.ChunkableContent.java
/**
* This class manages the provided content stream by breaking it chunks of the
* size specified by maxChunkSize.
*
* @author Andrew Woods
* Date: Feb 2, 2010
From source file source.YahooAnswersStreamParser.java
/**
* An XML-stream based iterator over Yahoo-Answers collection. Modeled
* after the code of Di Wang :
* https://github.com/Digo/lapps-gigaword-lucene/blob/master/src/main/java/edu/cmu/lti/oaqa/lapps/GwDocIterator.java
*
* @author Leonid Boytsov
From source file org.jpublish.template.filesystem.FileSystemTemplateIterator.java
/** Iterator which uses the paths returned by the wrapped iterator to
load Template objects from the specified template manager. This iterator
depends on a file tree Iterator to perform the actual iteration.
@author Anthony Eden
@since 1.1
From source file net.orzo.data.PositionAwareLineIterator.java
/**
* An iterator with ability to skip lines.
*
* @author Tomas Machalek <tomas.machalek@gmail.com>
*
*/
From source file BreadthFirstFileTreeIterator.java
/** Breadth first iterator which iterates through all files which are decendents
of the specified root file.
@author Anthony Eden
@since 1.1
*/
From source file org.jpublish.page.servletcontext.ServletContextPageIterator.java
/** Iterator which iterates through the Page objects known to the specified
PageManager. This implementation wraps an iterator which returns paths
and loads the Page object for each path. The wrapped Iterator must return
Strings.
@author Anthony Eden
From source file net.sf.morph2.reflect.support.ResultSetIterator.java
/**
* An iterator over a ResultSet. SQLExceptions are wrapped in MorphExceptions.
*
* @author Matt Sgarlata
* @since Dec 20, 2004
*/