List of usage examples for com.google.common.collect ForwardingMap subclass-usage
From source file com.threerings.util.DefaultMap.java
/** * Provides a map implementation that automatically creates, and inserts into the map, a default * value for any value retrieved via the {@link #fetch} method which has no entry for that key. */ public class DefaultMap<K, V> extends ForwardingMap<K, V> { /**
From source file com.addthis.bundle.value.DelegatingValueMap.java
public class DelegatingValueMap extends ForwardingMap<String, ValueObject> implements ValueMap { private final Map<String, ValueObject> delegatee; public DelegatingValueMap(Map<String, ValueObject> m) { delegatee = m;
From source file org.onos.yangtools.util.ReadOnlyTrieMap.java
/**
* A read-only facade in front of a TrieMap. This is what we give out from
* MapAdaptor.optimize(). The idea is that we want our read-only users to
* share a single snapshot. That snapshot is instantiated lazily either on
* first access. Since we never leak the TrieMap and track its size as it
* changes, we can cache it for future reference.
From source file org.opendaylight.yangtools.util.ReadOnlyTrieMap.java
/**
* A read-only facade in front of a TrieMap. This is what we give out from
* MapAdaptor.optimize(). The idea is that we want our read-only users to
* share a single snapshot. That snapshot is instantiated lazily either on
* first access. Since we never leak the TrieMap and track its size as it
* changes, we can cache it for future reference.
From source file net.derquinse.common.collect.ForwardingHierarchyMap.java
/**
* A hierarchy map that forwards its method calls to a delegated one.
* @author Andres Rodriguez
* @param <K> Type of the keys.
* @param <V> Type of the values.
*/
From source file io.scigraph.services.refine.RefineQueries.java
public class RefineQueries extends ForwardingMap<String, RefineQuery> { Map<String, RefineQuery> delegate = new HashMap<>(); @Override protected Map<String, RefineQuery> delegate() {
From source file org.opendaylight.ovsdb.lib.notation.OvsdbMap.java
@JsonDeserialize(converter = Converter.MapConverter.class) @JsonSerialize(using = OvsdbMapSerializer.class) public class OvsdbMap<K, V> extends ForwardingMap<K, V> { Map<K, V> target = Maps.newHashMap();
From source file edu.sdsc.scigraph.services.refine.RefineQueries.java
public class RefineQueries extends ForwardingMap<String, RefineQuery> { Map<String, RefineQuery> delegate = new HashMap<>(); @Override protected Map<String, RefineQuery> delegate() {
From source file com.ibm.vicos.common.ClientLookupMap.java
/** * Created by bur on 28/09/15. */ public class ClientLookupMap extends ForwardingMap<String, ClientIdentifier> { private final TreeMap<String, ClientIdentifier> delegate = Maps.newTreeMap();
From source file com.wrmsr.neurosis.util.CaseInsensitiveMap.java
public class CaseInsensitiveMap<V> extends ForwardingMap<String, V> implements Serializable { private static final long serialVersionUID = -7741335486707072323L; public CaseInsensitiveMap() { this(new HashMap<String, V>()); }