Example usage for java.util Iterator interface-usage

List of usage examples for java.util Iterator interface-usage

Introduction

In this page you can find the example usage for java.util Iterator interface-usage.

Usage

From source file net.orzo.data.FilePartReader.java

/**
 * This class iterates over chunks of a file using an internal
 * {@link LineIterator}. The chunks of the single reader typically do not cover
 * all the data (in such case a standard file reader would be better and simpler
 * to use) but only a fraction of it. It is best suited to situations where a
 * number of {@link FilePartReader} instances read a (large) file.

From source file org.nuxeo.ecm.core.api.DocumentTreeIterator.java

/**
 * An iterator over a tree of documents
 * <p>
 * The tree is traversed from top to bottom and left to right.
 * <p>
 * TODO: move this in an utility package

From source file org.epnoi.uia.harvester.wikipedia.parse.de.tudarmstadt.ukp.wikipedia.api.PageQueryIterator.java

/**
 * An iterator over page objects selected by a query.
 * @author zesch
 *
 */
public class PageQueryIterator implements Iterator<Page> {

From source file org.eclipse.ecr.core.api.DocumentTreeIterator.java

/**
 * An iterator over a tree of documents
 * <p>
 * The tree is traversed from top to bottom and left to right.
 * <p>
 * TODO: move this in an utility package

From source file org.eclipse.ecr.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>

From source file com.mongodb.hadoop.util.BSONLoader.java

public class BSONLoader implements Iterable<BSONObject>, Iterator<BSONObject> {

    public BSONLoader(final InputStream input) {
        _input = new DataInputStream(input);
    }

From source file org.drools.core.util.ArrayIterator.java

/** 
 * Implements an {@link java.util.Iterator Iterator} over any array.
 * <p>
 * The array can be either an array of object or of primitives. If you know 
 * that you have an object array, the 
 * {@link org.apache.commons.collections.iterators.ObjectArrayIterator ObjectArrayIterator}

From source file org.jpublish.repository.filesystem.FileSystemPathIterator.java

/** Iterator which iterates through the Files in the file system and converts
them to path Strings.
    
@author Anthony Eden
@since 1.2
*/

From source file gobblin.ingestion.google.webmaster.UrlGrouper.java

/**
 * Package the URL pages/nodes into groups given the group size while traversing the UrlTrie by utilizing a TrieIterator. If the current node is not a "leaf" node defined by the TrieIterator, then a "fake" group of size 1 will be created by only including this node.
 *
 * Iterating the groups with a Triple type return value:
 *
 * Triple.1 is this group's root URL. The full URL to the root node of the group.

From source file io.card.development.recording.Recording.java

/**
 * Represents captured recording sequences.
 * <p/>
 * Test recordings are fed directly into the video frame callback for testing of the vision pipeline.
 * <p/>
 * This package should be striped from released code. (e.g. via Proguard)