List of usage examples for com.google.common.collect AbstractIterator subclass-usage
From source file net.myrrix.common.collection.CountingIterator.java
/**
* Counts through [0,to).
*
* @author Sean Owen
* @since 1.0
*/
From source file org.apache.mahout.common.iterator.CountingIterator.java
/** * Iterates over the integers from 0 through {@code to-1}. */ public final class CountingIterator extends AbstractIterator<Integer> { private int count;
From source file com.javachen.grab.common.io.LineIterator.java
/** * Iterator over the lines of a file. */ final class LineIterator extends AbstractIterator<String> implements Closeable { private final Path file;
From source file com.cloudera.oryx.common.io.LineIterator.java
/** * Iterator over the lines of a file. */ final class LineIterator extends AbstractIterator<String> implements Closeable { private final Path file;
From source file org.fcrepo.kernel.utils.iterators.DifferencingIterator.java
/**
* A wrapping {@link Iterator} that calculates two differences between a
* {@link Set} A and a source Iterator B. The differences are (A - (A B)) and
* (B - (A B)). The ordinary output of this iterator is (B - (A B)), and
* after exhaustion, sets containing (A - (A B)) and (A B) are available.
*
From source file org.codelibs.elasticsearch.taste.common.iterator.CountingIterator.java
/** * Iterates over the integers from 0 through {@code to-1}. */ public final class CountingIterator extends AbstractIterator<Integer> { private int count;
From source file org.apache.cassandra.engine.utils.CursorBasedIterator.java
public class CursorBasedIterator<C extends Cursor> extends AbstractIterator<C> { private static final EmptyIterator empty = new EmptyIterator(); protected final C cursor; public CursorBasedIterator(C cursor) {
From source file de.learnlib.datastructure.discriminationtree.iterators.NodesIterator.java
/**
* Iterator that traverses all nodes of a subtree of a given discrimination tree node.
*
* @param <N>
* node type
*
From source file de.learnlib.datastructure.discriminationtree.iterators.InnerNodesIterator.java
/**
* Iterator that traverses all inner nodes (no leaves) of a subtree of a given discrimination tree node.
*
* @param <N>
* node type
*
From source file de.learnlib.datastructure.discriminationtree.iterators.LeavesIterator.java
/**
* Iterator that traverses all leaves (no inner nodes) of a subtree of a given discrimination tree node.
*
* @param <N>
* node type
*