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 org.xwiki.notifications.notifiers.internal.email.NotificationUserIterator.java

/**
 * Iterator that retrieve all users of the current wiki interested in the notifications emails at the specified
 * interval.
 *
 * @version $Id: 37705059cc69d3a7af0d90a2541e375d16d1d71b $
 * @since 9.5RC1

From source file org.jgrapht.util.PrefetchIterator.java

    /**
     * Utility class to help implement an iterator/enumerator in which the hasNext()
     * method needs to calculate the next elements ahead of time.
     *
     * <p>Many classes which implement an iterator face a common problem: if there
     * is no easy way to calculate hasNext() other than to call getNext(), then they

From source file mitm.common.util.NameValueLineIterator.java

/**
 * Iterator which can be used to retrieve name value pairs (name=value). Lines that do not match a line value
 * pair are skipped.
 * 
 * @author martijn
 *

From source file org.apache.olingo.client.api.domain.ClientEntitySetIterator.java

/**
 * OData entity set iterator class.
 * <br/>
 * <b>Please don't forget to call the <tt>close()>/</tt> method when not needed any more.</b>
 *
 * @param <E> concrete ODataEntity implementation

From source file org.wso2.msf4j.formparam.FormParamIterator.java

/**
 *
 */
public class FormParamIterator implements Iterator {

    /**

From source file ArrayIterator.java

/**
 * De-mystify the Iterator interface, showing how to write a simple Iterator for
 * an Array of Objects.
 * 
 * @author Ian Darwin, http://www.darwinsys.com/
 * @version $Id: ArrayIterator.java,v 1.10 2004/06/16 17:39:33 ian Exp $

From source file EnumerationIterator.java

/**
 * A GOF Adapter to make instances of old Enumeration interface behave like new
 * Iterator interface, so we only have to deal with one well-defined
 * implementation of the Iterator pattern.
 */
public class EnumerationIterator implements Iterator {

From source file io.druid.data.input.impl.prefetch.Fetcher.java

/**
 * A file fetcher used by {@link PrefetchableTextFilesFirehoseFactory}.
 * See the javadoc of {@link PrefetchableTextFilesFirehoseFactory} for more details.
 */
public class Fetcher<T> implements Iterator<OpenedObject<T>> {
    private static final Logger LOG = new Logger(Fetcher.class);

From source file com.adaptris.util.text.mime.MultiPartInput.java

/**
 * Reading a mime multipart input stream.
 * <p>
 * This offers, by default, a simplified model for processing all the body parts iteratively, however access to the underlying
 * MimeBodyPart is available depending on the constructor that is used.
 * </p>

From source file com.microfocus.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<>();
    private boolean closed;