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.thomnichols.android.gmarks.ThreadIterator.java

public abstract class ThreadIterator<T> implements Iterator<T>, Iterable<T> {
    static final String TAG = "BOOKMARK THREAD ITERATOR";
    protected final BookmarksQueryService bookmarksQueryService;
    private static final String uriTemplate = "https://www.google.com/bookmarks/api/threadsearch?fo=%s&g=Time&nr=25&start=";
    private final String uriBase;

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

/**
 *
 * @author tiago
 */

public class BIMReader implements Iterator {

From source file com.eharmony.matching.seeking.executor.mongodb.MongoResults.java

/**
 * Transform the results returned from MongoDB via Morphia as they are iterated.
 * 
 * @param <T>
 *            the return type
 */

From source file ddf.catalog.transformer.csv.MetacardIterator.java

/**
 * An implementation of java.util.Iterator which iterates over Metacard attribute values.
 *
 * @see java.util.Iterator
 */
class MetacardIterator implements Iterator<Serializable> {

From source file org.apache.parquet.cli.json.AvroJsonReader.java

public class AvroJsonReader<E> implements Iterator<E>, Iterable<E>, Closeable {

    private final GenericData model;
    private final Schema schema;
    private final InputStream stream;
    private Iterator<E> iterator;

From source file ddf.catalog.transformer.csv.common.MetacardIterator.java

/**
 * An implementation of java.util.Iterator which iterates over Metacard attribute values.
 *
 * @see java.util.Iterator
 */
class MetacardIterator implements Iterator<Serializable> {

From source file org.cloudata.tools.cloudatafs.FileNodeIterator.java

/**
 * @author jindolk
 *
 */
public class FileNodeIterator implements Iterator<FileNode> {
    public static final Log LOG = LogFactory.getLog(FileNodeIterator.class.getName());

From source file org.bireme.interop.toJson.ToJson.java

/**
 *
 * @author Heitor Barbieri
 * date 20140807
 */
public abstract class ToJson implements Iterable<JSONObject>, Iterator<JSONObject> {

From source file org.drools.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.apache.cocoon.forms.formmodel.tree.TreeWalker.java

/**
 * A helper to crawl a tree and quickly access important node-related information.
 * <p>
 * It's an <code>Iterator</code> on the "current level" of the tree. This level starts
 * at the root node (and therefore obviously contains only one element), and can then
 * be changed to children of the current node using {@link #enterChildren()} or popped