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 com.hp.application.automation.tools.octane.tests.TestResultIterator.java

public class TestResultIterator implements Iterator<JUnitTestResult> {

    private Reader input;
    private XMLEventReader reader;
    private LinkedList<JUnitTestResult> items = new LinkedList<JUnitTestResult>();
    private boolean closed;

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

/**
 * An iterator over page objects.
 *
 * @author zesch
 * @author Oliver Ferschke
 *

From source file com.marklogic.contentpump.utilities.FileIterator.java

/**
 * A Iterator that returns a FileSplit per file, excluding directories
 * 
 * @author ali
 * 
 */

From source file com.prowidesoftware.swift.io.AbstractReader.java

/**
 * Base class for message reader iterators.
 * 
 * @author sebastian@prowidesoftware.com
 * @since 7.8
 */

From source file org.norvelle.addressdiscoverer.parse.unstructured.ForwardsFlattenedDocumentIterator.java

/**
 * Given a standard tree-shaped JSoup Document, create a flattened list of
 * final elements (specifically, textual elements and emails) that can be
 * navigated from last to first in order to extract information for building
 * Individuals.
 * 

From source file ArrayIterator.java

/**
 * An <code>Iterator</code> to iterate over the elements of an array. 
 */
public class ArrayIterator implements Iterator {

    /** Current index. */

From source file com.msopentech.odatajclient.engine.communication.request.batch.ODataBatchResponseManager.java

/**
 * Batch response manager class.
 */
public class ODataBatchResponseManager implements Iterator<ODataBatchResponseItem> {

    /**

From source file org.cosmo.common.net.StringTokens.java

public class StringTokens implements Iterator<String>, Iterable<String> {

    public static final int NValue = Integer.MAX_VALUE;
    public static final char[] CommaSeparatorChar = new char[] { ',' };
    public static final char[] ColonSeparatorChar = new char[] { ':' };
    public static final char[] SlahSeparatorChar = new char[] { '/' };

From source file org.sonar.core.util.CloseableIterator.java

public abstract class CloseableIterator<O> implements Iterator<O>, AutoCloseable {
    private O nextObject = null;
    boolean isClosed = false;
    private static final CloseableIterator<?> EMPTY_CLOSEABLE_ITERATOR = new CloseableIterator<Object>() {
        @Override
        public boolean hasNext() {

From source file $.LogEventParsingIterator.java

    /**
     * Iterates over provided log files, parsing and returning {@link LogEvent}s on demand.
     */
    class LogEventParsingIterator implements Iterator<LogEvent>, Closeable {
        private final LogParser parser;
        private final LogParserConfig config;