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.icefaces.ace.model.tree.NodeEnumerationToNodeEntryIterator.java

public class NodeEnumerationToNodeEntryIterator<V> implements Iterator<Map.Entry<NodeKey, V>> {
    Iterator<V> iter;
    KeySegmentConverter converter;
    NodeKey parentKey;

    public NodeEnumerationToNodeEntryIterator(KeySegmentConverter converter, NodeKey parentKey,

From source file org.cloudfoundry.tools.io.FilteredIterator.java

/**
 * Base for {@link Iterator}s that selectively {@link #isElementFiltered(Object) filters} items from an underlying
 * source.
 * 
 * @author Phillip Webb
 * @param <E> the element type

From source file org.jpublish.util.FileToPathIterator.java

/** Iterator which converts Files from the specified Iterator to a path
relative to the specified root.
    
@author Anthony Eden
@since 1.3
*/

From source file org.eclipse.ecr.common.utils.ZipFileIterator.java

/**
 * An iterator over the entries in a zip file.
 * <p>
 * The iterator support filtering using {@link ZipEntryFilter}
 *
 * @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>

From source file com.phoenixst.collections.FilteredIterator.java

/**
 *  A filtered <code>Iterator</code>.  Because this class must advance
 *  the underlying <code>Iterator</code> to correctly implement {@link
 *  #hasNext()}, {@link #remove()} has unusual semantics.  See the
 *  javadocs for that method for details.
 *

From source file ar.com.zauber.commons.dao.impl.PredicateIterator.java

/**
 * Iterador que filtra el contenido de otro iterador `on the fly'.
 * 
 * @author Juan F. Codagnone
 * @since Jun 16, 2009
 * @param <T> type

From source file org.uv.himongo.util.BSONLoader.java

public class BSONLoader implements Iterable<BSONObject>, Iterator<BSONObject> {

    public BSONLoader(final InputStream input) {
        _input = new DataInputStream(input);
    }

From source file org.mule.module.db.internal.result.resultset.ResultSetIterator.java

/**
 * Iterates a {@link ResultSet} to provide rows streaming
 */
public class ResultSetIterator implements Iterator<Map<String, Object>>, Closeable {

    protected static final Log logger = LogFactory.getLog(ResultSetIterator.class);

From source file ar.com.zauber.commons.collections.DistinctIterator.java

/**
 * Iterador que mientras itera elimina duplicados que acaba de ver.
 * ["hola", "hola", "chau", "chau"] retorna ["hola", "chau"], pero 
 * ["hola", "chau", "hola"] retorna ["hola", "chau", "hola"].  
 * 
 * @author Juan Almeyda

From source file org.obp.nmea.NmeaLineScanner.java

/**
 * Created by Robert Jaremczak
 * Date: 2013-10-17
 */
public class NmeaLineScanner implements Iterator<String> {
    private String[] tokens;