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 ResultSetIterator.java

/**
 * <p>
 * Wraps a <code>ResultSet</code> in an <code>Iterator</code>.  This is useful
 * when you want to present a non-database application layer with domain
 * neutral data.
 * </p>

From source file com.msopentech.odatajclient.engine.data.ODataEntitySetIterator.java

/**
 * OData entity set iterator class.
 */
public class ODataEntitySetIterator implements Iterator<ODataEntity> {

    /**

From source file mojohive.ResultSetIterator.java

/**
 * <p>
 * Wraps a <code>ResultSet</code> in an <code>Iterator</code>.  This is useful
 * when you want to present a non-database application layer with domain
 * neutral data.
 * </p>

From source file org.xwiki.watchlist.internal.notification.WatchListEventMimeMessageIterator.java

/**
 * Generate {@link MimeMessage}s from {@link WatchListMessageData}s extracted by an iterator over a list of subscribers.
 *
 * @version $Id: 88551a662ab5d8ad0189e6f37d39b1ebeb379857 $
 * @since 7.1M1
 */

From source file net.stargraph.core.DocumentIterator.java

public final class DocumentIterator implements Iterator<Indexable> {
    private static Logger logger = LoggerFactory.getLogger(DocumentIterator.class);
    private static Marker marker = MarkerFactory.getMarker("core");

    private Stargraph core;
    private final KBId kbId;

From source file org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.DatabaseEventsIterator.java

class DatabaseEventsIterator implements Iterator<BootstrapEvent> {
    private static Logger LOG = LoggerFactory.getLogger(DatabaseEventsIterator.class);
    private RemoteIterator<LocatedFileStatus> remoteIterator;

    private final Path dbLevelPath;
    private HiveConf hiveConf;

From source file org.apache.streams.elasticsearch.ElasticsearchQuery.java

public class ElasticsearchQuery implements Iterable<SearchHit>, Iterator<SearchHit>, Serializable {

    private static final Logger LOGGER = LoggerFactory.getLogger(ElasticsearchQuery.class);
    private static final int SCROLL_POSITION_NOT_INITIALIZED = -3;

    private ElasticsearchClientManager elasticsearchClientManager;

From source file org.lambda3.indra.util.VectorIterator.java

public class VectorIterator implements Iterator<TermVector> {

    private final boolean sparse;
    private int dimensions;
    private int numberOfVectors;
    private LittleEndianDataInputStream input;

From source file org.apache.olingo.client.api.domain.ODataEntitySetIterator.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.apache.ddlutils.platform.ModelBasedResultSetIterator.java

/**
 * This is an iterator that is specifically targeted at traversing result sets.
 * If the query is against a known table, then {@link org.apache.ddlutils.dynabean.SqlDynaBean} instances
 * are created from the rows, otherwise normal {@link org.apache.commons.beanutils.DynaBean} instances
 * are created.
 *