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

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

Introduction

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

Usage

From source file com.palantir.common.base.ForwardingClosableIterator.java

public abstract class ForwardingClosableIterator<T> extends ForwardingIterator<T> implements ClosableIterator<T> {

    @Override
    protected abstract ClosableIterator<T> delegate();

    @Override

From source file com.haulmont.cuba.gui.model.impl.ObservableIterator.java

/**
 *
 */
class ObservableIterator<T> extends ForwardingIterator<T> {

    private Iterator<T> delegate;

From source file org.fcrepo.kernel.utils.iterators.NodeIterator.java

/**
 * Type-aware iterator to wrap the JCR NodeIterator
 *
 * @author ajs6f
 * @date Apr 20, 2013
 */

From source file org.fcrepo.kernel.utils.iterators.PropertyIterator.java

/**
 * A type-aware iterator that wraps the generic JCR PropertyIterator
 *
 * @author ajs6f
 * @date Apr 25, 2013
 */

From source file org.fcrepo.kernel.utils.iterators.NodeTypeIterator.java

/**
 *
 * A type-aware iterator that wraps the generic JCR {@link javax.jcr.nodetype.NodeTypeIterator}
 *
 * @author cbeer
 */

From source file org.fcrepo.kernel.utils.iterators.VersionIterator.java

/**
 * Type-aware iterator to wrap the JCR NodeIterator.
 *
 * @author ajs6f
 * @date Apr 20, 2013
 */

From source file org.fcrepo.kernel.utils.iterators.EventIterator.java

/**
 * Encapsulates JCR's pre-generics {@link EventIterator} with a fully-typed
 * {@link Iterator}<Event>
 *
 * @author ajs6f
 * @date Apr 20, 2013

From source file de.cosmocode.collections.callback.CallbackIterator.java

/**
 * A composable {@link Iterator} which pokes the specified {@link Callback}
 * on structural changes.
 *
 * @author Willi Schoenborn
 * @param <E> the generic element type

From source file de.cosmocode.collections.utility.ForwardingUtilityIterator.java

/**
 * Implementation of the {@link UtilityIterator} interface
 * delegating all calls to an underlying {@link UtilityIterator}.
 *
 * @author Willi Schoenborn
 * @param <E> the generic element type

From source file com.palantir.atlasdb.keyvalue.partition.util.ClosablePeekingIterator.java

public final class ClosablePeekingIterator<T> extends ForwardingIterator<T>
        implements ClosableIterator<T>, PeekingIterator<T> {

    public static <V> ClosablePeekingIterator<V> of(ClosableIterator<V> it) {
        return new ClosablePeekingIterator<V>(it);
    }