Example usage for com.google.common.collect AbstractIterator subclass-usage

List of usage examples for com.google.common.collect AbstractIterator subclass-usage

Introduction

In this page you can find the example usage for com.google.common.collect AbstractIterator subclass-usage.

Usage

From source file suneido.runtime.IterStoJ.java

/** Adapt iterator from Suneido to Java style */
public class IterStoJ extends AbstractIterator<Object> {
    private final Object iter;

    public IterStoJ(Object iter) {
        this.iter = iter;

From source file org.geogit.remote.LocalCopyingDiffIterator.java

/**
 * An iterator that copies all new objects from a source repository to a destination repository.
 */
class LocalCopyingDiffIterator extends AbstractIterator<DiffEntry> {

    private Iterator<DiffEntry> source;

From source file org.geogit.osm.internal.QueueIterator.java

@ThreadSafe
class QueueIterator<T> extends AbstractIterator<T> {

    private static final Logger LOGGER = LoggerFactory.getLogger(QueueIterator.class);

    private BlockingQueue<T> queue;

From source file com.flaptor.indextank.util.AbstractSkippableIterator.java

public abstract class AbstractSkippableIterator<E> extends AbstractIterator<E> implements SkippableIterator<E> {

    public abstract void skipTo(int i);

}

From source file co.cask.cdap.api.dataset.lib.AbstractCloseableIterator.java

/**
 * Iterator that extends {@link com.google.common.collect.AbstractIterator} and implements
 * {@link co.cask.cdap.api.dataset.lib.CloseableIterator}.
 * 
 * @param <T> Type of elements returned by this iterator
 */

From source file nextmethod.collections.IterableIterator.java

/**
 *
 */
public abstract class IterableIterator<T> extends AbstractIterator<T> implements Iterable<T> {

    @Override

From source file org.calrissian.accumulorecipes.commons.hadoop.RecordReaderValueIterator.java

public class RecordReaderValueIterator<K, V> extends AbstractIterator<V> {

    private RecordReader<K, V> recordReader;

    public RecordReaderValueIterator(RecordReader<K, V> recordReader) {
        this.recordReader = recordReader;

From source file org.mandarax.rt.FilteredIterator.java

/**
 * Simple filtered iterator.
 * @author jens dietrich
 */
public class FilteredIterator<T> extends com.google.common.collect.AbstractIterator<T>
        implements ResourceIterator<T> {

From source file org.eclipse.xtext.generator.trace.LeafIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 * @noextend This class is not intended to be subclassed by clients.
 * @noinstantiate This class is not intended to be instantiated by clients.
 */
public class LeafIterator extends AbstractIterator<AbstractTraceRegion> {

From source file com.google.eclipse.protobuf.cdt.util.ExtendedListIterator.java

/**
 * {@code Iterator} for {@code List}s. This implementation keeps track of the index of the current element to be able
 * to:
 * <ul>
 * <li>Retrieve the elements that have not been visited yet</li>
 * <li>Check whether we are visiting the last element of the {@code List}</li>