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

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

Introduction

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

Usage

From source file org.asoem.greyfish.utils.space.cluster.DBSCANCluster.java

public final class DBSCANCluster<O> extends ForwardingCollection<O> implements Cluster<O> {

    private final ImmutableList<O> objects;

    private DBSCANCluster(final ImmutableList<O> objects) {
        this.objects = objects;

From source file net.sourceforge.docfetcher.util.collect.BoundedList.java

/**
 * @author Tran Nam Quang
 */
public final class BoundedList<T> extends ForwardingCollection<T> {

    private final int capacity;

From source file net.sourceforge.vaticanfetcher.util.collect.BoundedList.java

public final class BoundedList<T> extends ForwardingCollection<T> {

    private final int capacity;
    private final boolean removeEldest;
    private int virtualSize = 0;
    private LinkedList<T> list = new LinkedList<T>();

From source file org.asoem.greyfish.utils.collect.FifoBuffer.java

/**
 * A List implementation that can hold a fixed number of elements.
 * If the limit is reached, any further addition will replace the the oldest element.
 * Does not permit null values.
 */
public final class FifoBuffer<E> extends ForwardingCollection<E> implements Serializable {

From source file org.apache.shindig.gadgets.preload.ConcurrentPreloads.java

/**
 * Preloads data by evaluating Futures for PreloadedData.
 * This class is not, however, thread-safe - tasks must be
 * added and read from a single thread..
 */
class ConcurrentPreloads extends ForwardingCollection<PreloadedData> {

From source file org.asoem.greyfish.utils.collect.FunctionalFifoBuffer.java

/**
 * This class implements {@code FunctionalCollection} with an underlying {@link FifoBuffer}.
 */
public final class FunctionalFifoBuffer<M> extends ForwardingCollection<M>
        implements Serializable, FunctionalCollection<M> {

From source file net.sourceforge.cilib.moo.archive.constrained.ConstrainedArchive.java

/**
 * <p>
 * An {@link Archive} constrained by the number of solutions that it can store.
 * </p>
 *
 */

From source file com.github.fhirschmann.clozegen.lib.register.api.Register.java

/**
 * Base class for all registers.
 *
 * @param <T> the entry type
 * @author Fabian Hirschmann <fabian@hirschmann.email>
 */