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

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

Introduction

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

Usage

From source file net.sf.derquinsej.stats.ForwardingTimingMap.java

/**
 * Forwarding timing map.
 * @author Andres Rodriguez
 * @param <K> The type of keys.
 */
public abstract class ForwardingTimingMap<K> extends ForwardingMap<K, Timing> implements TimingMap<K> {

From source file com.google.test.metric.collection.LazyHashMap.java

/**
 * Wrap a Map to provide lazy creation of its values.
 * @author alexeagle@google.com (Alex Eagle)
 */
public class LazyHashMap<K, V> extends ForwardingMap<K, V> {
    private final Map<K, V> delegate;

From source file com.eincs.decanter.utils.collection.MapWrapper.java

/**
 * @author Jung-Haeng Lee
 */
public class MapWrapper<K, V> extends ForwardingMap<K, V> {

    private final Map<K, V> delegate;

From source file io.scigraph.services.refine.RefineResults.java

public class RefineResults extends ForwardingMap<String, List<RefineResult>> {

    Map<String, List<RefineResult>> delegate = new HashMap<>();

    public RefineResults() {
        delegate.put("result", new ArrayList<RefineResult>());

From source file io.scigraph.services.jersey.MediaTypeMappings.java

public final class MediaTypeMappings extends ForwardingMap<String, MediaType> {

    Map<String, MediaType> delegate = new HashMap<>();

    public MediaTypeMappings() {
        delegate.put("xml", MediaType.APPLICATION_XML_TYPE);

From source file de.cosmocode.palava.scope.DestroyableMap.java

/**
 * A {@link Destroyable} {@link Map} implementation.
 *
 * @since 1.2
 * @author Willi Schoenborn
 * @param <K> generic key type

From source file edu.sdsc.scigraph.services.refine.RefineResults.java

public class RefineResults extends ForwardingMap<String, List<RefineResult>> {

    Map<String, List<RefineResult>> delegate = new HashMap<>();

    public RefineResults() {
        delegate.put("result", new ArrayList<RefineResult>());

From source file edu.sdsc.scigraph.services.jersey.MediaTypeMappings.java

public final class MediaTypeMappings extends ForwardingMap<String, MediaType> {

    Map<String, MediaType> delegate = new HashMap<>();

    public MediaTypeMappings() {
        delegate.put("xml", MediaType.APPLICATION_XML_TYPE);

From source file com.squareup.rack.RackEnvironment.java

/**
 * The HTTP request environment consumed by a {@link RackApplication}.
 *
 * @see <a href="http://rack.rubyforge.org/doc/SPEC.html">The Rack Specification</a>
 * @see com.squareup.rack.servlet.RackEnvironmentBuilder
 */

From source file ch.raffael.util.common.collections.UMap.java

/**
 * @author <a href="mailto:herzog@raffael.ch">Raffael Herzog</a>
 */
public class UMap<K, V> extends ForwardingMap<K, V> implements Serializable {
    private static final long serialVersionUID = 12022401L;