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.apache.torque.generator.source.SourceProvider.java

/**
 * The input for a generation process. It can contain several sources.
 * In order to use the sources, the init() method must be called. After
 * this method was called, no more setters may be called.
 */
public abstract class SourceProvider implements Iterator<Source> {

From source file cloudlens.engine.CLIterator.java

public class CLIterator implements Iterator<BlockObject> {
    public boolean withHistory;
    public ArrayList<BlockObject> history;
    private Iterator<BlockObject> it;
    private ArrayList<BlockObject> mem;

From source file com.android.utils.traversal.ReorderedChildrenIterator.java

/**
 * Children nodes iterator that iterates its children according the order of AccessibilityNodeInfo
 * hierarchy. But for nodes that are not considered to be focused according to
 * AccessibilityNodeInfoUtils.shouldFocusNode() rules we calculate new bounds that is minimum
 * rectangle that contains all focusable children nodes. If that rectangle differs from
 * real node bounds that node is reordered according needSwapNodeOrder() logic and could be

From source file SubArray.java

public class SubArray<T> implements Iterable<T>, Iterator<T> {
    protected T[] arr;
    protected int startInclusive;
    protected int endInclusive;
    protected int currentPos;

From source file org.geoserver.csw.store.simple.SimpleRecordIterator.java

/**
 * Builds features scanning xml files in the specified folder, and parsing them as CSW Record
 * objects
 * 
 * @author Andrea Aime - GeoSolutions
 */

From source file AccessibleFieldIterator.java

/**
 * An iterator over the fields that are accessible in a given class and any subclass of that class.
 * Any non private field declared in the given class is accessible in that class and its subclasses.
 * A field declared in a superclass of the given class is only accessible in that class and its
 * subclasses if it is not private and if it is not hidden by another field with the same name.
 * Synthetic fields are not returned by the iterator.

From source file org.apache.struts2.util.SubsetIteratorFilter.java

/**
 * A bean that takes an iterator and outputs a subset of it.
 *
 */
public class SubsetIteratorFilter extends IteratorFilterSupport implements Iterator, Action {

From source file org.opencb.hpg.bigdata.core.io.VcfBlockIterator.java

/**
 * @author mh719
 *
 */
public class VcfBlockIterator implements AutoCloseable, Iterator<List<CharBuffer>>, Iterable<List<CharBuffer>> {
    private static final long DEFAULT_64KB_BLOCK = 64L * 1024L;

From source file edu.cornell.med.icb.goby.counts.PeakAggregator.java

/**
 * Aggregate counts for peaks. Peaks are defined as a contiguous set of bases such that
 * no base has zero count.  This class defines the peaks and aggregate counts for the peak.
 *
 * @author Fabien Campagne
 *         Date: May 27, 2009

From source file c3.ops.priam.aws.S3PrefixIterator.java

/**
 * Class to iterate over prefixes (S3 Common prefixes) upto
 * the token element in the path. The abstract path generated by this class
 * is partial (does not have all data).
 */
public class S3PrefixIterator implements Iterator<AbstractBackupPath> {