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

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

Introduction

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

Usage

From source file suneido.database.immudb.StoredRecordIterator.java

/**
 * Used by {@link DbLoad} and {@link BulkTransaction}
 */
class StoredRecordIterator extends UnmodifiableIterator<Record> {
    private final Storage stor;
    private final int last;

From source file org.eclipse.xtext.nodemodel.util.EmptyBidiIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 */
public class EmptyBidiIterator<T> extends UnmodifiableIterator<T> implements BidiIterator<T> {

    private static EmptyBidiIterator<?> INSTANCE = new EmptyBidiIterator<Object>();

From source file qdg.bits.IndexIterator.java

public class IndexIterator<E> extends UnmodifiableIterator<Integer> {

    private int i = 0;

    private Collection<E> c;

From source file org.eclipse.xtext.nodemodel.impl.BasicNodeIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 * @noextend This class is not intended to be subclassed by clients.
 */
public class BasicNodeIterator extends UnmodifiableIterator<AbstractNode> implements BidiIterator<AbstractNode> {

From source file org.eclipse.xtext.nodemodel.util.SingletonBidiIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 */
public class SingletonBidiIterator<T> extends UnmodifiableIterator<T> implements BidiIterator<T> {

    private boolean doneNext;

From source file org.eclipse.xtext.nodemodel.util.NodeIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 */
public class NodeIterator extends UnmodifiableIterator<INode> implements BidiIterator<INode> {

    private final INode startWith;

From source file qdg.bits.ConcatIterator.java

/**
 * Combines multiple iterators into an single unmodifiable iterator.
 * 
 * Though com.google.common.collect.Iterators provides a general way to
 * combine iterators, its special case for combining 2, 3 or 4
 * iterators just calls the general implementation. A specialization

From source file org.eclipse.xtext.nodemodel.impl.BasicNodeTreeIterator.java

/**
 * @author Sebastian Zarnekow - Initial contribution and API
 * @noextend This class is not intended to be subclassed by clients.
 */
public class BasicNodeTreeIterator extends UnmodifiableIterator<AbstractNode>
        implements BidiTreeIterator<AbstractNode> {

From source file com.analog.lyric.collect.UnmodifiableReleasableIterator.java

/**
 * A {@link ReleasableIterator} that does not support {@link #remove()}.
 * 
 * @since 0.07
 * @author Christopher Barber
 */

From source file com.sk89q.guavabackport.cache.AbstractSequentialIterator.java

@GwtCompatible
abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
    private T nextOrNull;

    protected AbstractSequentialIterator(@Nullable final T firstOrNull) {
        this.nextOrNull = firstOrNull;