List of usage examples for java.util Iterator interface-usage
From source file org.paxml.file.LineBasedFile.java
public class LineBasedFile implements Iterator<String>, IFile { private final BufferedReader reader; private final String name; private String line; public LineBasedFile(Resource file, String encoding) {
From source file net.longfalcon.newsj.nntp.client.ReplyIterator.java
/** * Wraps a {@link BufferedReader} and returns an {@code Iterable<String>} * which returns the individual lines from the reader. * @since 3.0 */ class ReplyIterator implements Iterator<String>, Iterable<String> {
From source file org.apache.camel.dataformat.csv.CsvIterator.java
/** */ public class CsvIterator<T> implements Iterator<T>, Closeable { private final CSVParser parser; private final Reader reader;
From source file de.dhke.projects.cutil.collections.ExtractorIterator.java
/**
* Iterator that supports transformed iteration over another iterator.
* < /p>
* This only exists, because {@link TransformIterator} cannot be used with wildcard collections.
*
* @author Peter Wullinger <java@dhke.de>
From source file com.graphaware.tx.event.improved.propertycontainer.snapshot.LabelSnapshotIterator.java
/** * {@link com.graphaware.tx.event.improved.propertycontainer.snapshot.NodeSnapshot}'s {@link org.neo4j.graphdb.Label} iterator. */ public class LabelSnapshotIterator extends PrefetchingIterator<Label> implements Iterator<Label>, Iterable<Label> { private final Node node;
From source file EmptyIterator.java
/** * <p> * EmptyIterator is an iterator which is empty. * </p> */ public class EmptyIterator implements Iterator {
From source file phex.common.collections.CompoundIterator.java
/** * With the compound iterator it is possible to easily concat different interators * with each other. */ // TODO3 could be replaced by org.apache.commons.collections.iterators.IteratorChain. public class CompoundIterator implements Iterator {
From source file de.tudarmstadt.ukp.wikipedia.api.CategoryIterator.java
/** * An iterator over category objects. * @author zesch * */ public class CategoryIterator implements Iterator<Category> {
From source file it.openutils.mgnlaws.magnolia.datastore.S3IdentifierIterator.java
/** * @author molaschi * @version $Id: S3IdentifierIterator.java 12437 2013-01-30 17:34:41Z manuel $ */ public class S3IdentifierIterator implements Iterator<DataIdentifier> {
From source file joshelser.as2015.parser.AmazonReviewParser.java
/** * Parses reviews scraped from Amazon obtained from https://snap.stanford.edu/data/web-Amazon.html */ public class AmazonReviewParser implements Iterator<AmazonReview> { private final BufferedReader reader;