List of usage examples for com.google.common.collect ForwardingMap subclass-usage
From source file com.yammer.collections.metrics.MeteredMap.java
class MeteredMap<K, V> extends ForwardingMap<K, V> { private final Map<K, V> backingMap; private final MetricRegistry metricRegistry; MeteredMap(Map<K, V> backingMap, MetricRegistry metricRegistry) { this.backingMap = backingMap;
From source file com.quinsoft.zeidon.utils.IntegerLinkedHashMap.java
/**
* Convenience integer map that will default values to 0.
*
* @author DG
*
*/
From source file com.netflix.spinnaker.orca.pipeline.model.StageContext.java
public class StageContext extends ForwardingMap<String, Object> { private final Stage stage; private final Map<String, Object> delegate; public StageContext(Stage stage) {
From source file org.eclipse.gef4.common.properties.MapProperty.java
/**
* A {@link MapProperty} is a map that supports notification of
* {@link PropertyChangeListener}s. Will fire 'simple'
* {@link PropertyChangeEvent}s in case of calls to {@link #clear()} or
* {@link #putAll(Map)}, using a {@link Map} for new and old values. Will fire
* {@link KeyedPropertyChangeEvent}s in case of calls to
From source file de.cosmocode.rendering.SuperClassKeyMapping.java
/**
* {@link Mapping} implementation which traverses the object hierarchy when
* {@link Mapping#find(Class)} is called to find the most appropriate type mapping.
*
* @since 1.1
* @author Willi Schoenborn
From source file de.cosmocode.rendering.SuperClassMapping.java
/**
* {@link Mapping} implementation which traverses the object hierarchy when
* {@link Mapping#find(Class)} is called to find the most appropriate type mapping.
*
* @since 1.1
* @author Willi Schoenborn
From source file org.jclouds.fujitsu.fgcp.xml.internal.MapWithStatusResponse.java
/**
* Special base class extending (forwardable) Map with fields for the elements
* that FGCP XML responses specify.
* <p>
* This is useful for methods that return a set of elements that are better
* represented as key value pairs.
From source file com.proofpoint.tracetoken.TraceToken.java
public class TraceToken extends ForwardingMap<String, String> { private final Map<String, String> delegate; TraceToken(Map<String, String> map) { requireNonNull(map, "map is null"); requireNonNull(map.get("id"), "map{id} is null");
From source file com.afewmoreamps.util.COWMap.java
/** * Key set, value set, and entry set are all immutable as are their iterators. * Otherwise behaves as you would expect. */ public class COWMap<K, V> extends ForwardingMap<K, V> implements Map<K, V> { private final AtomicReference<ImmutableMap<K, V>> m_map;
From source file org.apache.solr.util.MapListener.java
/** * Wraps another map, keeping track of each key that was seen via {@link #get(Object)} or {@link #remove(Object)}. */ @SuppressWarnings("unchecked") public class MapListener<K, V> extends ForwardingMap<K, V> { private final Map<K, V> target;