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.longfalcon.newsj.nntp.client.ArticleIterator.java

/**
 * copied from commons-net class ArticleIterator v3.2
 * Class which wraps an {@code Iterable<String>} of raw article information
 * to generate an {@code Iterable<Article>} of the parsed information.
 * @since 3.0
 */

From source file org.wikidata.wdtk.storage.datastructures.BitVectorIterator.java

/**
 * This is an iterator for a bit vector.
 * 
 * @author Julian Mendez
 */
public class BitVectorIterator implements Iterator<Boolean> {

From source file org.apache.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 EnumerationIterator.java

/**
 * An Iterator wrapper for an Enumeration.
 * 
 * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
 * @version $Id: EnumerationIterator.java 463298 2006-10-12 16:10:32Z henning $
 */

From source file c3.ops.priam.compress.ChunkedStream.java

/**
 * Byte iterator representing compressed data.
 * Uses snappy compression
 */
public class ChunkedStream implements Iterator<byte[]> {
    private static int BYTES_TO_READ = 2048;

From source file com.netflix.priam.compress.ChunkedStream.java

/**
 * Byte iterator representing compressed data.
 * Uses snappy compression
 */
public class ChunkedStream implements Iterator<byte[]> {
    private boolean hasnext = true;

From source file DepthFirstFileTreeIterator.java

/** Depth first iterator which iterates through all files which are decendents
of the specified root file.
    
@author Anthony Eden
@since 1.1
*/

From source file eu.popgen.canephora.parsers.plink.FAMReader.java

/**
 *
 * @author tiago
 */
public class FAMReader implements Iterator {
    private BufferedReader in;

From source file io.syndesis.project.converter.visitor.StepVisitorContext.java

@Value.Immutable
@JsonDeserialize(builder = StepVisitorContext.Builder.class)
public interface StepVisitorContext extends Iterator<StepVisitorContext> {

    int getIndex();

From source file ar.com.zauber.commons.repository.ScrollableResultsIterator.java

/**
 * Iterator que engloba los ScrollableResults de Hibernate para trabajar 
 * genricamente con ObservationWorkingDayHoursProvider. Se usa de acuerdo
 * al algoritmo de este Provider, es decir que el hasNext avanza el scroll
 * y el next devuelve el elemento cargado.
 *